一键导入
ctx
Create a feature-specific context document and save it under the feature contexts directory for later planning, review, or implementation work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a feature-specific context document and save it under the feature contexts directory for later planning, review, or implementation work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Validate workflow markdown documents such as plans, reviews, implementation reports, and audits against the required format contract.
Master workflow orchestrating feature planning, review, implementation, audit, and retrospectives. Entry point for feature development lifecycle.
Audit a feature implementation against its approved plan and implementation report, then produce the architect verdict and follow-up direction.
Create a feature document covering business context and initial architecture for a new feature using the PM and Architect workflow.
Execute a review-approved feature plan and produce or refine the implementation report for that feature.
Orchestrate the full feature workflow loop by detecting artifact state and routing through review, implementation, audit, and follow-up steps.
| name | ctx |
| description | Create a feature-specific context document and save it under the feature contexts directory for later planning, review, or implementation work. |
| applyTo | [] |
Purpose: Create context documents for specific features. Feature contexts are stored in the feature directory and linked to the feature document.
Choose any of the following:
/ctx {topic} # Auto-detect FEATURE_ID from chat, provide topic
/ctx feat-2026-01-123 {topic} # FEATURE_ID + context topic
/ctx {topic} --name context-name # Custom output filename
/ctx {topic} --format markdown # Specify output format
When {topic} only: auto-detect FEATURE_ID from chat, create context for topic.
When --name provided: output file is named {context-name}.context.md (otherwise derived from topic).
When --format provided: use specific format (default: markdown with /context-feature structure).
/ctx {topic} — skill infers FEATURE_ID from chat context./ctx feat-2026-01-123 technical-analysis (explicit feature + topic)./ctx my-topic --name my-custom-name (control output filename)./ctx technical-analysis, /ctx architecture-decisions, /ctx domain-knowledge.feature-name/custom-feature/Context Files: {descriptive-name}.context.md or {type}-{topic}.context.md
technical-analysis.context.mdarchitecture-decisions.context.mddomain-knowledge.context.mdcontext-2025-11-18-topic.md (date not needed in feature contexts)topic.md (missing .context suffix)One-to-Many: Feature → Contexts
Metadata (optional fields — see artifact-metadata.md ### Context):
kind — research or brainstormcategory — free string domain classifier (e.g. technical, architecture, domain-knowledge)tags, status, updatedCross-document links and trailing refs: see cross-document-links.md.
When the requested context is research (solution options, best practices, 3rd party solutions, broad/deep exploration):
feat-XXX/contexts/{topic}.context.md using this command's structure and linking.feat-2025-10-feature-name)feat-XXX/contexts/{topic}.context.mdYou are the Architect (architect.md). Create context documents for features.
Get current date via date +%Y-%m-%d. Validate feature and context scope. Create context file in feat-XXX/contexts/{topic}.context.md with bidirectional references.
Inputs integration:
## References / ## Used by.sync or check returns an error, show that raw failure to the user.See also: /research skill, /feat skill