con un clic
coding-guidelines
Baseline coding behavior. Use before writing, reviewing, debugging, or refactoring code. Establishes ground rules for assumptions, simplicity, surgical edits, and verification.
Menú
Baseline coding behavior. Use before writing, reviewing, debugging, or refactoring code. Establishes ground rules for assumptions, simplicity, surgical edits, and verification.
Use when posting validated code review findings as GitHub PR line-level comments or a GitHub PR review after completing a review.
Use when reviewing branch or PR changes against a base branch for correctness, security, concurrency, architecture, maintainability, testing, and performance risks.
Applies Karl Popper’s critical rationalism to software engineering, programming, and product building by treating requirements, designs, implementations, and product ideas as falsifiable hypotheses. Emphasizes conjectures and refutations, explicit assumptions, fast error discovery, small risky experiments, observable failure signals, reversible designs, and iterative elimination of mistakes.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design.
Generate or check Codex CLI .codex-plugin/plugin.json and Gemini CLI gemini-extension.json manifests from a Claude Code .claude-plugin/plugin.json source manifest. Use when maintaining one plugin across Claude Code, Codex CLI, and Gemini CLI, syncing plugin metadata, preserving platform-specific manifest fields, or validating cross-platform plugin manifests before release.
Use when improving an article or long-form draft for structure, clarity, coherence, flow, readability, or prose quality while preserving meaning, accuracy, intent, and voice.
| name | coding-guidelines |
| description | Baseline coding behavior. Use before writing, reviewing, debugging, or refactoring code. Establishes ground rules for assumptions, simplicity, surgical edits, and verification. |
These are baseline rules for coding tasks. Apply them before writing, reviewing, debugging, refactoring, or testing code.
Bias toward small, correct, maintainable, verified changes.
For trivial tasks, do not add unnecessary process. For non-trivial tasks, define the goal, make a focused change, and verify it.
Do not assume silently.
State assumptions when they materially affect:
Ask for clarification only when the answer would meaningfully change the implementation. For low-risk ambiguity with a conventional default, state the assumption and proceed instead of blocking.
Push back when the requested approach appears overcomplicated, risky, or misaligned with the stated goal.
Implement the minimum code that correctly solves the requested problem.
Do not add:
Prefer existing project utilities and standard library functionality over new code or dependencies.
If the solution is much larger than the problem, simplify before proceeding.
Touch only what the request requires.
When editing existing code:
Mention unrelated issues separately instead of changing them.
Clean up only artifacts caused by your own change:
Every changed line should trace directly to the user's request.
Default to no comments. Add one only when the why is non-obvious — a hidden constraint, subtle invariant, or workaround.
Do not:
// removed X for deleted codeFor non-trivial tasks, define success before editing.
Use a short plan:
1. [Step] -> verify: [check]
2. [Step] -> verify: [check]
3. [Step] -> verify: [check]
Convert vague goals into verifiable goals:
Do not broaden the task silently.
Verify before claiming work is done. Do not claim something works without actually running it.