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.
- License 许可
- MIT
- 最近更新
- 2026-10-06
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- docs-update
- description
- 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.
02 资源文件 2
- 参考文档agents/openai.yaml212 B
- 参考文档references/evidence-language.md1.0 KB
03 SKILL.md 正文
Docs Update
Purpose
Make documentation accurately describe current implementation, evidence, limitations, and pending work without inventing features or validation.
Trigger
Use when a maintained repository document must be synchronized with verified code, tests, runtime evidence, or an approved migration state.
Do not trigger
Do not use for product prompts, code comments, automatic handoff reports, historical rewrites, marketing copy, or unverified future architecture.
Inputs
- Target document, audience, and requested scope.
- Current code or configuration evidence.
- Tests and commands actually run in the current session.
- Manual or browser checks actually performed.
- Known limitations and explicitly planned work.
Workflow
- Read the target document and the evidence that owns each affected claim.
- Classify claims as implemented, tested, manually verified, pending, or unverified using evidence language.
- Identify stale, ambiguous, historical, or marketing-heavy wording.
- Edit only the requested sections and preserve historical evidence unless the task explicitly changes its status or ownership.
- Separate current functionality, current limitations, and future work.
- Review links, paths, commands, dates, and validation claims.
Outputs
Return the documents and sections changed, the evidence used, claims still pending verification, validation performed, and any intentionally preserved historical wording.
Safety
- Never invent implementation, test results, readiness, provider behavior, or security guarantees.
- Never treat agent documentation as product-domain evidence.
- Do not expose secrets, environment values, private URLs, or raw logs.
- Do not modify product code, tests, or unrelated documents through this skill.
- Do not silently rewrite an authoritative audit or historical source.
Validation
- Verify every changed factual claim against its owning source.
- Check local links and literal repository paths.
- Run
git diff --checkand review the documentation diff. - State clearly which product tests, if any, were not required for a docs-only change.
References
AGENTS.md— evidence and documentation rules.docs/agents/README.md— agent-tooling facts.- Evidence language — canonical claim status definitions for this skill.
04 同仓库更多 Skills
cxp
Run the explicitly requested project-owned Cognivia Codex Prompt orchestration workflow.
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.
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.
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.