coding-conventions
Internal reference skill — coding standards and patterns for developer agents. Not user-invocable.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Internal reference skill — coding standards and patterns for developer agents. Not user-invocable.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Close out work by committing local changes, pushing, waiting for green CI, and merging the PR. Universal — works on any branch with an open PR; no task structure required. Use when asked to 'merge the PR', 'ship it', 'merge and close', 'commit push merge', 'finalize the PR', 'land it on main', 'we're done — close it out', or whenever the user signals end-of-work and the next step is to merge. If (and only if) the current work is one phase of a multi-phase task in `tasks/**/phase-N-*/`, also make upcoming phase tech-decomposition documents accurate for the implementation that just landed by adding handoff notes or updating stale assumptions before merging — otherwise this step is silently skipped. Make sure to use this skill whenever the user signals end-of-implementation and wants the changes merged — even if they don't say the word "skill". NOT for opening a new PR (use plain `gh pr create`). NOT for addressing review comments (use /prc). NOT for preparing a session handoff to a fresh context (use /ph).
Use when a plan, design, or discovery document needs stress-testing for hidden assumptions, scope gaps, unresolved branches, or ambiguous wording; also when the user explicitly says "grill me".
Internal reference skill — shared conventions for all code review agents. Not user-invocable.
Implements a feature from a technical decomposition using TDD, keeping the task document updated and handing off cleanly to review. Use when starting, continuing, or resuming implementation from a tech-decomposition or task directory. Trigger: 'implement this task', 'start implementation', 'continue/resume implementation', 'build from the tech decomposition', or after /ct produces a decomposition. NOT for creating the plan (/ct), feature discovery (/nf), small untracked changes (/si-quick or /quick), or code review (/sr).
Use when asked to review code before merge or review a PR, branch, commit range, task path, or current working tree. Trigger on requests like 'review PR', 'review my changes', 'review this branch', 'is this ready to merge', or other pre-merge review requests. Supports task/spec-aware review when task docs exist. NOT for addressing review comments (use /prc).
Test-driven development with red-green-refactor loop using vertical slices. Use when building features or fixing bugs with TDD, when /si or /si-quick needs canonical TDD discipline, when user mentions "red-green-refactor", "tracer bullets", "test-first", or asks for integration-style tests. Forbids horizontal slicing (all tests then all implementation).
| name | coding-conventions |
| description | Internal reference skill — coding standards and patterns for developer agents. Not user-invocable. |
Shared knowledge preloaded into developer agents. Follow these when implementing features.
{{TEST_CMD}}{{DOCS_DIR}}{{LAYERS}}
{{LAYER_RULES}}
any. any hides type errors that only surface at
runtime, which is the failure mode our type system exists to prevent._ prefix on unused vars unless the project's lint config requires it..claude/skills/tdd/SKILL.md.{{TEST_CMD}}{{LINT_CMD}}{{TYPECHECK_CMD}}{{TEST_DIR}}Named heuristics worth applying by name (mostly from Software Engineering at Google and Ousterhout's A Philosophy of Software Design):