task-brief
Turn an implementation, debugging, audit, or migration request into a precise scope, objective, constraint, file, validation, and reporting brief before work begins. Use for multi-file, ambiguous, architectural, or staged work and explicit requests for a task brief. Do not use for architecture inventory, refactor execution, commit review, session handoffs, or trivial requests with complete acceptance criteria.
- License 许可
- MIT
- 最近更新
- 2026-10-06
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- task-brief
- description
- Turn an implementation, debugging, audit, or migration request into a precise scope, objective, constraint, file, validation, and reporting brief before work begins. Use for multi-file, ambiguous, architectural, or staged work and explicit requests for a task brief. Do not use for architecture inventory, refactor execution, commit review, session handoffs, or trivial requests with complete acceptance criteria.
02 资源文件 2
- 参考文档agents/openai.yaml206 B
- 参考文档references/task-brief-format.md544 B
03 SKILL.md 正文
Task Brief
Purpose
Produce an implementation-ready contract without solving or implementing the task. Separate verified repository facts from assumptions and decisions.
Trigger
Use when a request needs scope clarification, acceptance criteria, protected areas, phased work, or a validation contract before implementation.
Do not trigger
Do not use for a full architecture inventory, behavior-preserving extraction, documentation editing, commit preparation, or handoff generation. Route those responsibilities to their dedicated skills.
Inputs
- User objective and acceptance criteria.
- Current branch, working-tree state, and relevant repository instructions.
- Known implementation evidence and unresolved assumptions.
- Allowed and protected product areas, files, dependencies, and provider use.
- Required final report or artifact format.
Workflow
- Inspect only enough repository context to define the task accurately.
- Record observed facts separately from assumptions and open decisions.
- State one concrete objective and measurable acceptance criteria.
- Mark affected areas and explicitly unchanged areas: frontend, backend, prompts, graph, RAG, memory, persistence, providers, tests, dependencies, configuration, and deployment.
- List expected files, protected files, constraints, and non-goals.
- Identify validation appropriate to the proposed scope using
AGENTS.md. - Define the required final report, approval boundary, risks, and rollback point.
- Stop with the brief; do not implement it.
Outputs
Return a concise brief using the task brief format. Call out any missing decision that genuinely blocks safe implementation.
Safety
- Remain read-only unless the user separately authorizes writing the brief to a named path.
- Do not infer permission for product edits, provider calls, dependencies, Git mutations, or broader cleanup.
- Do not turn an uncertain dependency assumption into an architecture finding.
- Do not include secrets or credential values.
Validation
- Verify named existing paths before presenting them as current.
- Label planned paths and commands as planned.
- Check that acceptance criteria cover the objective and that non-goals prevent scope drift.
- Confirm that the validation plan and final report match the requested scope.
References
AGENTS.md— durable repository rules and validation.docs/agents/README.md— tooling ownership.- Task brief format — output structure.
04 同仓库更多 Skills
cxp
Run the explicitly requested project-owned Cognivia Codex Prompt orchestration workflow.
session-handoff
Create a concise factual handoff for work continuing in another session, tool, or agent. Use when the user requests a handoff, work pauses with useful state, or a blocked task needs an exact next action. Do not use automatically for trivial completed work, as an implementation plan, or to transfer edit or Git authorization.
safe-refactor
Plan and execute one small behavior-preserving refactor phase with local dependency mapping, compatibility, rollback, validation, and commit boundaries. Use for approved extractions, module splits, dependency untangling, or test migration. Do not use to generate a broad architecture inventory, redesign UX or behavior, add features, update docs only, or create commits.
docs-update
Update Cognivia documentation from verified implementation and current-session evidence. Use for README, architecture, validation, status, reviewer, or future-work documentation after implementation changes. Do not use for product prompt edits, speculative roadmap writing, code changes, generated handoffs, or claims that cannot be verified.
cxp
Project-owned Codex Prompt orchestration workflow for generating or executing a structured repository task. Use only when the user explicitly invokes `$cxp`, writes `CXP`, or asks for the Cognivia CXP workflow; never select it implicitly.
commit-review
Review working-tree and staged scope, validation evidence, sensitive files, unrelated changes, commit grouping, and readiness before an authorized commit. Use when the user asks for commit preparation, staged-diff review, commit splitting, or messages. Do not use to implement fixes or automatically stage, commit, amend, push, merge, reset, rebase, squash, or clean.