بنقرة واحدة
core
prd.json schema and task system - auto-loaded when prd.json exists
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
prd.json schema and task system - auto-loaded when prd.json exists
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Show token / tool usage stats from the local telemetry log. Use when you want to know "which tools am I burning context on", "which skills are expensive", or "was yesterday's session mostly Read/Grep or actually productive".
Parallel quality audit with 7 specialized agents (Opus). Finds bugs, violations, and quality issues. Use audit for fixes, brainstorm for features.
Manage environment variables with Doppler — auto-install CLI, login, link projects, wrap commands with `doppler run`. Replaces scattered .env files with a hub/spoke architecture.
Scaffolds new projects or onboards existing ones. Detects stack, creates monorepo/single-app, configures strict tooling. Use for greenfield or first-time setup.
Archives completed stories from prd.json to reduce token usage.
Autonomous task execution with testing and security. Works through all tasks without stopping.
| name | core |
| description | prd.json schema and task system - auto-loaded when prd.json exists |
| allowed-tools | Read, Write, Edit, TaskCreate, TaskUpdate, TaskList, Grep, Glob |
| model | opus |
| user-invocable | false |
| disable-model-invocation | true |
!node -e "try{const p=require('./prd.json');const sp=p.sprints?p.sprints[p.sprints.length-1]:p;const s=Object.values(sp.stories||p.stories||{});const name=sp.id||sp.name||p.sprint||'unknown';const done=s.filter(x=>x.passes===true).length;const pending=s.filter(x=>x.passes===null||x.passes===false).length;const deferred=s.filter(x=>x.passes==='deferred').length;console.log('Sprint:',name,'| Done:',done,'| Pending:',pending,'| Deferred:',deferred,'| Total:',s.length)}catch(e){console.log('No prd.json')}"
For large prd.json (100+ stories), use Grep to find specific stories. For typical sizes (<50 stories), reading the full file is fine with 1M context.
Sprints are for tracking, not for ceremony. If the work is small, skip the overhead.
| Layer | Tool | Purpose |
|---|---|---|
| Long-term | prd.json | Sprint history, resolutions (Git-tracked) |
| Short-term | Native Tasks | Active work (session only) |
Work with native Tasks during session, batch-update prd.json at end.
{
"id": "S26-001",
"title": "Fix tooltip clipping",
"priority": 1,
"passes": null,
"realness": null,
"type": "fix",
"category": "components",
"notes": "",
"resolution": ""
}
| Field | Values |
|---|---|
passes | null (pending), true (done), false (failed), "deferred" |
realness | 0-100 (optional, see below). null = not rated yet |
type | fix, feature, refactor, qa, perf |
priority | 0=critical, 1=high, 2=medium, 3=low |
resolution | HOW it was fixed (learning) |
passes: true is binary and hides the difference between "wired up" and "works in production." Fill in realness when closing non-trivial stories so the sprint summary reflects reality.
| Score | Meaning |
|---|---|
| 20 | Stubbed — UI exists, no backend |
| 40 | Wired — frontend and backend connected, happy path works in dev |
| 60 | Functional — handles the obvious edge cases, one real end-to-end test |
| 80 | Production-ready — error handling, empty/loading/error states, observability |
| 100 | Battle-tested — used by real users, edge cases caught and fixed |
Rules:
passes: true.When completing bug fixes, document HOW:
[PATTERN]: [SPECIFIC FIX]
Examples:
null-check: Added optional chaining at line 45missing-import: Added import for DateRangetype-mismatch: Changed Record<string, T> to Partial<Record<K, T>>overflow: Added max-h + overflow-autoWith 1M context, aggressive token saving is unnecessary. Prefer clarity over brevity.
| Action | Do This |
|---|---|
| Check status | Read prd.json header or use dynamic context injection |
| Start task | Grep specific story |
| Track progress | Native TaskUpdate |
| Complete work | Batch edit prd.json at session end |
When ANY of these are true, run archive before starting new work:
Do not ask — just archive. Archive keeps only last 3 sprints active. Completed stories move to .claude/archives/prd-archive-YYYY-MM.json.