Skip to main content

keep-architecture-docs-current

Use when architecture-affecting code, agent profiles, workflow contracts, hooks, skills, MCP configuration, evals, CI, repository structure, or documentation changes could make Project Khepri docs or Mermaid diagrams stale.

Informações da origem

Repositório
Tyler-R-Kendrick/project-khepri
Última atividade na origem
8 de maio de 2026 às 04:00
Idioma detectado do SKILL.md
inglês
Estrelas
2
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
2 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
keep-architecture-docs-current
description
Use when architecture-affecting code, agent profiles, workflow contracts, hooks, skills, MCP configuration, evals, CI, repository structure, or documentation changes could make Project Khepri docs or Mermaid diagrams stale.
# Keep Architecture Docs Current ## Overview Keep architecture documentation, diagrams, and contribution guidance aligned with the implemented Project Khepri system. Treat stale architecture docs as an incomplete architecture change. ## Source Of Truth Inspect the current implementation before editing prose: - `dotnet/src/Modernization/Workflow/ModernizationWorkflow.cs` - `dotnet/src/Modernization/Workflow/GitHubCopilotModernizationAgentRegistry.cs` - `.github/agents`, `.github/skills`, `.github/hooks`, `.github/instructions` - `evals/github-agents`, `evals/legacy-samples`, `.agentv/targets.yaml` - `package.json`, `.github/workflows`, `squad.config.ts`, `.squad`, `.specify` ## Workflow 1. Run `git status --short` and identify changed architecture surfaces. 2. Read the source files above that own the changed behavior. 3. Update all affected docs, especially `README.md`, `docs/README.md`, `docs/agents/README.md`, `docs/architecture/README.md`, `docs/architecture/decisions/README.md`, and repo practice files such as `CONTRIBUTING.md`. 4. Update every Mermaid diagram whose actors, stage order, evidence gates, skills, hooks, or validation paths changed. 5. Describe only implemented behavior as current state. Move plans, ideas, and not-yet-built tools into an explicit roadmap or future section. 6. Keep architecture decisions traceable: add or update ADR notes when a durable workflow, agent, skill, hook, eval, or validation gate changes. 7. Verify the architecture-docs hook remains wired through `.github/hooks/architecture-docs.json` and `.github/hooks/scripts/architecture-docs.mjs`. 8. Verify global agent instructions still invoke `$keep-architecture-docs-current` for architecture-affecting changes. ## Current-State Checklist - Custom agents listed in docs match `.github/agents` and the .NET registry. - Workflow stages, stage order, and AgentEvals gates match `ModernizationWorkflow.CreateContract()`. - Diagrams show `khepri-evolution` as a companion plus the sequential modernization stages and app/data/infra/security squad gate. - Skill, hook, instruction, eval, and steering docs reflect actual files in the repo. - Validation commands match `package.json`, `.agentv/targets.yaml`, and the .NET test project. - Conceptual IR/tool ideas are clearly marked as roadmap, not shipped implementation. ## Validation Run focused checks after changing this skill or documentation enforcement: ```powershell skills-ref validate .github/skills/keep-architecture-docs-current node .github/hooks/scripts/architecture-docs.mjs npm run eval:agents:validate npm run eval:agents ``` Run broader checks when architecture source files, agent profiles, evals, or workflow code changed: ```powershell npm run lint:agents $env:DOTNET_ROLL_FORWARD='Major'; dotnet test dotnet\tests\Code2\NL\Code2NL.Tests.csproj ```
Ver no GitHub