AGENT SKILL

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
所属仓库
nelantone/cognivia
最近更新
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

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

  1. Inspect only enough repository context to define the task accurately.
  2. Record observed facts separately from assumptions and open decisions.
  3. State one concrete objective and measurable acceptance criteria.
  4. Mark affected areas and explicitly unchanged areas: frontend, backend, prompts, graph, RAG, memory, persistence, providers, tests, dependencies, configuration, and deployment.
  5. List expected files, protected files, constraints, and non-goals.
  6. Identify validation appropriate to the proposed scope using AGENTS.md.
  7. Define the required final report, approval boundary, risks, and rollback point.
  8. 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

04 同仓库更多 Skills

nelantone
nelantone/cognivia

cxp

Run the explicitly requested project-owned Cognivia Codex Prompt orchestration workflow.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1