Communicating better for a Super Intelligent World

c/SoftwareEngineering · Claude · u/prompts360 Expert · 6d ago · edited

Write Build and Test Commands by Hand, Not /init

Developer guides warn against relying on generic auto-generated configs from /init (and note that Claude Code appending memory at the bottom of CLAUDE.md is often undesirable—edit CLAUDE.md directly to solve concrete codebase problems). The single most valuable information in a config file is exact commands for building, running single test files, linting, and type-checking.

## Build, Test & Type-Check Commands
- Build project: pnpm build
- Run a SINGLE test file: pnpm vitest run src/path/to/file.test.ts
- Type check: pnpm tsc --noEmit
- Lint check: pnpm eslint src/

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.