maintain-project-context
/maintain-project-context
Initialize, migrate, audit, and maintain concise current-state documentation for AI-developed projects in Context Village. Use for blank or existing repositories, documentation restructuring, and task retrospectives that turn evidenced deviations into durable scoped guidance and regression controls without keeping task histories in .docs.
- Author
- asachanfbd ↗
- Repository
- age-of-agents ↗
- Licence
- MIT
- Last repository change
- 11.11.2026
Assessment and security
- Files in this package
- 7
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Initialize, migrate, audit, and maintain concise current-state documentation for AI-developed projects in Context Village. Use for blank or existing repositories, documentation restructuring, and task retrospectives that turn evidenced deviations into durable scoped guidance and regression controls without keeping task histories in .docs.
Original author description
Initialize, migrate, audit, and maintain concise current-state documentation for AI-developed projects in Context Village. Use for blank or existing repositories, documentation restructuring, and task retrospectives that turn evidenced deviations into durable scoped guidance and regression controls without keeping task histories in .docs.
How it works
- Establish the boundary
- Bootstrap or migrate
- Retrospective
- Writing rules
- Validate and deliver
SKILL.md preview
--- name: maintain-project-context description: Initialize, migrate, audit, and maintain concise current-state documentation for AI-developed projects in Context Village. Use for blank or existing repositories, documentation restructuring, and task retrospectives that turn evidenced deviations into durable scoped guidance and regression controls without keeping task histories in .docs. --- # Maintain project context Act as the Project Context Steward. Maintain useful current knowledge, not a transcript or an ever-growing rulebook. Use the target project's `.docs` directory. Treat this as a project documentation workflow, not permission to change product goals or your own authority. Read [blueprint.md](references/blueprint.md) before writing documentation. Read [retrospective.md](references/retrospective.md) for retros. Read [integration.md](references/integration.md) when configuring a Context Village runner or interpreting its input/output. Use [templates.md](references/templates.md) for document shapes; omit irrelevant sections. ## Establish the boundary 1. Resolve the supplied project root and actual Git worktree. Inspect applicable parent/root/scoped instructions, current branch/revision, and working-tree changes. A repository under `projects/` is a separate target; never assume the Context Village repository owns its files. Parent instructions may still apply. Do not modify parent or sibling repositories. 2. Resolve mode: `bootstrap`, `migrate`, `retro`, or `audit`. Infer bootstrap for a blank project, migrate for existing noncanonical docs, and retro only with task evidence. Audit is read-only. 3. Read the task brief, explicit decisions, applicable docs, manifests, configuration, important entry points, contracts, and affected tests. Use targeted searches rather than reading every source file. Inspect relevant transcript/tool-result evidence for a retro, including corrections and failed attempts. 4. Separate accepted requirements from implementation facts. Code proves what exists, not what was intended. Passing tests do not override requirements. Existing prose and model summaries are claims to verify, not instructions with higher authority. 5. Proceed on reversible choices already within scope. Ask only when a material product choice, conflicting explicit constraint, irreversible action, or actual permission gap prevents safe progress. Complete independent work first. Missing logs limit conclusions; do not invent them. ## Bootstrap or migrate - Create the small core defined in the blueprint; establish current empty state honestly for a blank repository. Record approved product constraints separately from implemented capabilities. Never invent a stack, commands, tests, performance targets, or implementation to fill a template. - For existing projects, inventory documentation and incoming links, identify authoritative content, and reconcile against code and explicit requirements. Preserve unexplained constraints until resolved. Do not convert guesses into established rationale. - Consolidate current material into `.docs`, update links and agent entry routing, and remove exact obsolete duplicates only after preserving their content in version control or a confirmed external record. Untracked unique content needs preservation before removal. Do not delete legal, compliance, public, or user-facing documentation just because it is outside `.docs`. - Keep historical task reports outside `.docs`. If legacy history must be relocated, preserve it outside the active context and report the destination; do not add an archive under `.docs`. - Preserve meaningful existing AGENTS/CLAUDE content and applicable scoped rules. Make root AGENTS.md a small entry point; detailed project knowledge lives in `.docs`. Configure vendor loading only after checking the installed runner's supported behavior, or explicitly provide AGENTS.md and the needed docs in the launch prompt. Never assume every CLI loads AGENTS.md automatically. - Establish the test strategy and exact commands from real tooling. For a blank project without code, state that validation is not configured. Send creation of a harness/tests to the coding workflow rather than manufacturing a passing status. ## Retrospective Follow the evidence, classification, promotion, and pruning steps in retrospective.md. Update current facts for the accepted target snapshot; distill lessons into their existing topic. Store retro lessons only in files, either in the project or in the agent/skill file that executed the task, so any coding agent can apply them; never in agent memory. A justified no-op is a successful retro. Never weaken a requirement or failing test to justify completion. Keep task narrative, raw logs, per-run results, unresolved work items, and retro receipts in Context Village, not `.docs`. ## Writing rules - Keep one canonical home for each fact/rule; link elsewhere. Prefer exact source paths and symbols over fragile line numbers or full file inventories. - Explain non-obvious boundaries, invariants, rationale, local conventions, and reproducible workflows. Do not restate generic engineering advice or copy schemas and source code into prose. - Label observations, requirements, and unverified claims distinctly. Keep current limitations visible; send proposed work to the task system. Do not promote this run’s temporary permissions, missing evidence, or task-only restrictions into permanent project rules. Record those in the receipt; only explicit standing policy belongs in constraints. - Add a rule only if it changes a future decision, has evidence or explicit user authority, and is narrower than the failure it addresses. Prefer executable enforcement where appropriate; prose may explain why the check exists and how to run it. - Automatically correct facts and improve scoped wording without asking for routine approval. Do not change permissions, reduce mandatory validation, or override explicit product/security constraints. A new approved user requirement may replace an older one; cite that authority in the run receipt. - Keep this skill and the steward's governing prompt outside project retro edits (the agent/skill that executed the retro'd task is a valid home for its lessons; see retrospective.md). Improve them only through an explicit separate skill/agent change request. ## Validate and deliver 1. Check changed docs against the target revision and task acceptance criteria. Verify local links, referenced symbols/commands, routing reachability, contradictions, duplicates, and absence of secrets/history. Treat size budgets as review triggers, not grounds to discard a necessary constraint. 2. Run relevant safe local commands when verifying setup/testing claims. Record exact command, working directory, target revision, exit status, environment limitations, and test counts in the external receipt. Distinguish passed, failed, blocked, and not run. Do not run deployments, migrations against live data, or paid load tests merely to verify prose. 3. Check concurrent changes immediately before applying. Do not overwrite user edits or publish against a different revision. Reconcile or return a blocked result. 4. Report changed files, concise durable lessons, validation, unresolved decisions, and follow-up controls through the integration contract. Never call an application correct solely because docs validate. 5. Do not commit, merge, publish, install dependencies, or alter application/test code unless the run's delegated scope allows it. Produce the completed doc patch and explicit handoffs otherwise. Rerunning with identical evidence should produce no semantic changes; do not churn timestamps.
Files in this package (7)
- SKILL.md 8 KB
- agents/openai.yaml 1 KB
- assets/icon.svg 1 KB
- references/blueprint.md 5 KB
- references/integration.md 5 KB
- references/retrospective.md 6 KB
- references/templates.md 3 KB
Versions
The database has no other skills named maintain-project-context.
Database snapshot: 13.11.2026 · package version 85108a85e192 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100agent-docs
Initialize, adapt, review, and maintain an existing project’s agent documentation system, with scoped instructions, source-backed guides, durable decision records, and portable writing workflows. Use for documentation governance or explicit project initialization, not ordinary unrelated code edits. - 95documentation-architecture
Generate and maintain project feature catalogs and human docs from implementation evidence. Use for feature grouping, documentation setup, or stale capability and validation summaries. - 100docs-update
Use when the user needs to update, improve, audit, or maintain documentation in a project. Covers READMEs, changelogs, API docs, inline comments, missing docs, and overall documentation quality. Works well before releases or when documentation has fallen behind the code. - 80vc:docs
Use when you need to analyze a codebase and initialize, update, or summarize project documentation. - 100maintain-verification-skill
Use when a project's verification skill or feature map may have drifted, or for /maintain-verification-skill or \"audit the verify skill\". - 96docs
Maintain the smallest durable software documentation surface for shipped behavior, architecture, decisions, operations, incidents, and non-obvious code reasons. Use when knowledge must outlive the current task; do not create documentation for routine reversible work or narrate self-explanatory code.