بنقرة واحدة
task-delivery-guardrails
Repository-level guardrails for task delivery quality, verification, and completion artifacts
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Repository-level guardrails for task delivery quality, verification, and completion artifacts
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Run automated loop checks for three-level documentation compliance after code changes. Use when verifying changed files for required L3 file-header declarations and required L2 module README.md synchronization before commit or CI merge.
Define and enforce a strict three-level documentation protocol for every code change. Use when developing, reviewing, or refactoring any project that requires L1 root README architecture map, L2 module README files, and mandatory L3 file-header input/output/pos declarations with post-change loop checks.
استنادا إلى تصنيف SOC المهني
| name | task-delivery-guardrails |
| description | Repository-level guardrails for task delivery quality, verification, and completion artifacts |
Use this skill when dispatching implementation, refactor, bugfix, reliability, or integration tasks to an execution agent. This is a general delivery guardrail skill, not limited to a specific phase plan.
Use this file as the single source of truth for:
docs/develop/plans/*phase-prompts.md should only define phase-specific work items and phase-specific acceptance additions.
Do not duplicate full guardrail rules in phase prompt docs.
docs/guide/* unless the task explicitly requires guide updates.feat/*, fix/*, refactor/*, hardening/*)Use tiered verification based on task scope:
Default to Standard. Escalate to Full when touching cross-module, runtime-critical, or release-boundary paths. Downgrading to Minimal requires explicit reviewer approval.
go test ./... if unsure)go vet ./... (or targeted go vet package set when full scan is too heavy)go test ./...go vet ./...go test ./...go test -race ./internal/tasks ./internal/api ./internal/replicationgo test -race <affected-packages> (append additional affected packages beyond the default set)go vet ./...make e2e-quickIf task touches sqlc, also require:
make sqlc-generatemake sqlc-verifyExecution agent must provide:
git show --stat --name-only <hash-range> summarygit revert <commit>)git branch --show-currentgit worktree listIf task touches sqlc, also include:
make sqlc-generate result summarymake sqlc-verify result summaryRollback verification is mandatory for high-risk or release-boundary changes. For low-risk scoped tasks, rollback command is still required, but full rollback verification may be waived by reviewer.
When rollback verification is required, validate with:
go test ./...go test -race ./internal/tasks ./internal/api ./internal/replicationgo test -race <affected-packages> (append additional affected packages beyond the default set)go vet ./...make e2e-quickAfter each review, always provide two blocks:
Review Verdict (for reviewer/user)Worker Prompt (copy-paste instructions for execution agent)approved or changes_requiredP0, P1, P2) with file referencesMust include:
only this stage, no unrelated refactor)Template:
Apply repository skill: task-delivery-guardrails.
Work only on the requested scope; do not perform unrelated refactors.
Objective:
- <one-sentence goal>
Mandatory fixes:
1) <file>: <required change and expected behavior>
2) <file>: <required change and expected behavior>
Forbidden changes:
- <if any>
Verification gate:
- <Minimal|Standard|Full> (reason: <short reason>)
Run and report:
- <commands from selected gate>
Delivery artifacts:
1) commit hashes (ordered)
2) git show --stat --name-only <hash-range>
3) code-change summary + test-change summary
4) config compatibility notes (if config changed)
5) rollback command (git revert <commit>)
6) unresolved items
7) branch/worktree proof (`git branch --show-current`, `git worktree list`)
Paste this at the top of any execution dispatch prompt:
Apply repository skill: task-delivery-guardrails.
Enforce all constraints, verification gates, and delivery artifacts defined in:
.agents/skills/task-delivery-guardrails/SKILL.md