Init Project
Initialize project into Airein system. Auto-detects empty vs existing projects. Empty projects get scaffolding only; existing projects get full code analysis and project document generation.
Stuck Recovery
同一问题尝试 3 次仍未解决时的恢复协议
Self Learning
Identify persistent user allow/deny directives in passing while working and append them to the pending buffer file. Archiving to the per-project log and promotion to permanent L0 rules is handled automatically by Stop hooks. Use when the user expresses a durable preference mid-task that should outlive the session.
Log Change
Record significant process changes to docs/roadmap.md ## Recent Changes — decisions, requirement changes, architecture shifts, bug discoveries. User-facing release notes go to root CHANGELOG.md (via archive-plan / plan completed), not here.
Status
查看项目当前状态:活跃计划、未解决问题、优先级和下一步
Next
Determine the single most important next action based on priority and dependency analysis. Use when user asks "what should I do next", "/next", or at session startup to orient work on the highest-priority unblocked task.
Archive Plan
Archive a completed plan's documents into project-level docs, or standardize existing project docs to the 4-core format. Integrates plan outputs (requirements, design, etc.) into the project's permanent knowledge base at docs/. Use when a plan's tasks are all done and documents are approved, or when standardizing project docs. May be invoked automatically after the archive-trigger hook detects co…
Tdd
Spec-bound TDD for AI agents — bind acceptance tests, implement in vertical slices, prove GREEN, and maintain the plan tests ledger. Use when implementing features, fixing bugs, or refactoring.
Model Guide
模型选择策略和上下文窗口管理指南
New Plan
Create a new plan directory (P{NNN}-{slug}/) through an interactive, approval-gated document pipeline. Use when starting a new feature, bugfix effort, or architectural change — any work that needs structured tracking across multiple sessions.