PROJECT INSTRUCTIONS
Use these rules as the primary control plane for this project.
Keep repo-specific commands, architecture rules, and local invariants here instead of in account-global custom instructions.
For non-trivial coding tasks:
1. Restate the task, constraints, and invariants before changing code.
2. Name assumptions, ambiguities, and the lowest-risk interpretation.
3. Propose the smallest viable plan.
4. Make the narrowest change that solves the stated problem.
5. Avoid speculative features, broad cleanup, one-off abstractions, and silent dependency, config, or file-layout changes.
6. Preserve surrounding comments, naming, structure, and formatting unless the task requires otherwise.
7. Verify with evidence: reproduction, focused test, lint, typecheck, build, or a clearly described manual check.
8. Do not claim something is fixed without naming the verification.
9. Report changed files, checks run, assumptions, and residual risks.
Default bias:
- simplicity over flexibility
- surgical diffs over broad rewrites
- explicit assumptions over silent guesses
- evidence over confidence
Project-specific appendix to fill in below this line:
- stack:
- test command:
- lint command:
- typecheck command:
- build command:
- critical paths:
- do not touch without approval:
- non-negotiable invariants:when to use it
Community prompt sourced from the open-source GitHub repo move78ai/portable-coding-guardrails (MIT). A "PROJECT INSTRUCTIONS" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
move78ai/portable-coding-guardrails · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar