dev-standards-add-skillCreate new project-specific skill in `.claude/skills/` to codify recurring pattern. 在項目中新建可複用技能。 Use when: add skill, create skill, new skill, codify pattern, make reusable workflow
dev-standards-ce-compound記錄已解決問題以複利機構知識。Document solved problems in docs/solutions/ with structured YAML frontmatter. Use when: non-trivial problem solved + verified, prevent re-discovery, capture institutional learning before context fades, document best practice or workflow pattern. Skip: trivial (typo), solution unverifi
dev-standards-ce-setupDiagnose + configure compound-engineering env — CLI deps, plugin version, repo-local config. Guided install for missing tools, gitignore + config bootstrap. Use when: troubleshoot missing tools, verify CE setup, onboard repo, refresh config template, /ce-setup re-check. Skip: unrelated to compound-e
dev-standards-configdev-standards 設定網關,導向正確之手動配置技藝。Routes project-setup / config-CRUD intent to the right manual dev-standards skill. Use when: bootstrap project dev standards, re-detect tech stack, refresh CLAUDE.md/hooks, add/edit/remove project rules, create project-specific skill, SKILL.md description style, diagno
dev-standards-decideRecord or list architectural decisions and active migrations in `.claude/rules/architecture.md`. 管理架構決策與遷移記錄。 Use when: record decision, add decision, add migration, complete migration, list decisions, list migrations, update architecture decisions, mark migration done
dev-standards-diagnoseFeedback-loop-first debug discipline for hard bugs + perf regressions: reproduce→minimise→hypothesise→instrument→fix→regression-test. Use when: diagnose this, debug this, bug, broken, throwing, failing, perf regression, flaky test
dev-standards-git-guardrailsSet up a Claude Code PreToolUse hook that blocks destructive git commands (push, reset --hard, clean -f, branch -D, checkout .) before they run. Use when: prevent destructive git, add git safety hook, block git push/reset, git guardrails
dev-standards-glossaryManage `.claude/rules/glossary.md` domain vocabulary (ubiquitous language). 管理項目領域詞彙表。 Use when: define term, add glossary entry, list glossary, sharpen fuzzy term, resolve naming conflict, check vocab vs code
dev-standards-grill-taskInterrogate any new task before it is persisted — extract intent, flow, domain terms, design patterns, scope, and verification with tier-gated depth. 任務創建時審問之,層層深掘以求精確。 Use when: plugin creates task, schedule work, grill request, interrogate task before planning, task intake, dartai task creation
dev-standards-handoffCompact current conversation into a handoff doc (OS temp dir) for a fresh agent to continue. 壓縮對話為交接文檔。 Use when: hand off session, end of session summary, pass work to another agent, prepare context for continuation, dartai session boundary
dev-standards-load-bearing-sourcesArchitecture/security/performance claims need >=2 independent sources or escalate. Load-bearing = wrong cascades downstream. Use when: spec/ADR architectural decisions, security primitive choice, performance characteristic assertion, PR with load-bearing claim, subagent design doc. Skip: typos/comme
dev-standards-memory-needs-sourceNew memory entries need ISO 8601 timestamp + source-event tag (loop-id/task-id/commit-sha) for temporal conflict resolution. Soft guidance — backfill on next touch. Use when: writing new memory, creating per-memory file, reviewing PR adding memory, subagent appending memory. Skip: existing files lac
dev-standards-perf-ceilingPerformance is measured against the theoretical maximum, not the previous version. 以理論極限度性能,非以前版。 Use when: make this faster, optimize, slow, latency, throughput, hot path, profiling, benchmark, perf budget, claiming a speedup. Skip: prototype, cold path with no stated budget.
dev-standards-ponytail-debtHarvest `ponytail:` shortcut comments into a debt ledger so deferrals don't rot into 'later means never'. 收割 ponytail: 捷徑註解為債務台帳,使延遲不腐爛為永不。 Use when: 'ponytail debt', list the shortcuts, what did we defer, ponytail ledger, periodic tech-debt sweep, before a refactor pass. One-shot report — changes n
dev-standards-ponytailLazy-senior-dev build gate: write least code works. 最懶開發者之建造閘。 Ladder: YAGNI → stdlib → native platform → installed dep → one line. Use when: over-engineering, bloat, boilerplate, unrequested abstraction, new dep for few lines, 'be lazy', 'simplest solution', 'yagni', 'do less', before scaffolding.
dev-standards-prototypeBuild throwaway prototype to de-risk a design before committing. Branches: terminal app for state/logic, or multi-variant UI route. Use when: prototype this, sanity-check data model/state machine, mock up UI, explore design options, let me play with it, try a few designs
dev-standards-refactor-first-assessmentDuring planning after grill-task, decide whether preparatory refactor step is needed before implementation — runs four parallel A-rule checks. 規劃時評估現有結構是否支持計劃變更,按需插入預備重構步驟。 Use when: creating implementation plan, after grill-task, before writing implementation steps, assess codebase for refactor, pl
dev-standards-review-for-plan-updatesAfter task reaches GREEN and before quality gate commits, surface C-class refactor discoveries as structured plan-update proposals. 任務綠燈後,呈 C 類重構發現供規劃者取捨。 Use when: task passed tests, before quality gate commit, surface refactor proposals, review completed task for technical debt, post-GREEN review
dev-standards-setup-project\"Set up project with dev standards — rules, skills, and hooks. 配置項目以開發規範,立規則、技能、鉤子. Use when: setup dev standards, configure project rules, install dev hooks, bootstrap project standards, apply standard rules\"
dev-standards-skill-description-styleSKILL.md description style — conceptual conciseness then caveman/wenyan compression. LLM semantic retrieval, not keyword index. Use when: writing/editing SKILL.md description, reviewing PR with SKILL.md, briefing skill-writing subagent, auditing retrieval quality. Skip: SKILL.md body (different rule
dev-standards-to-issuesBreak a plan/PRD into independently-grabbable Dart tasks using tracer-bullet vertical slices (AFK/HITL). Use when: convert plan into tasks, create implementation tickets, break down work into Dart tasks, slice a feature
dev-standards-ultra-cleanEvidence-first eight-lane codebase cleanup: dedupe, shared types, unused code, cycles, weak types, defensive catches, legacy/fallback paths, comment slop. 八道證據先行之清碼。 Use when: clean up the repo, remove unused code, untangle circular deps, replace any/unknown, strip fallbacks, delete legacy paths, re
dev-standards-update-projectRe-detect tech stack, compare against current config, and update rules, CLAUDE.md, and hooks. 重新檢測技術棧,更新規則、CLAUDE.md 及鉤子。 Use when: update project, refresh project settings, re-detect languages, update CLAUDE.md, refresh hooks, reconfigure dev standards
dev-standards-update-rulesView, add, modify, or remove project rules in `.claude/rules/`. 管理項目開發規則。 Use when: update rules, add rule, edit rule, remove rule, manage rules, add rules for new module
dev-standards-verification-before-completion聲稱完成/修復/通過前必驗證。Run verification commands + confirm output before claiming complete/fixed/passing — evidence before assertions. Use when: about to claim done/fixed/passing, before commit or PR, before delegating downstream, dartai:task-executor Phase 9 final validation. Skip: reporting in-progress wi