Maintain Agents Instructions
Purpose
Guide the agent through a short maintenance wizard so top-level instruction files stay aligned with current repo workflows, skill changes, and provider support without drifting into duplicate or conflicting guidance.
When to use this skill
- The repo's workflows, commands, or package-manager defaults changed.
- Skills were added, removed, renamed, or substantially rewritten.
.github/copilot-instructions.md, GEMINI.md, or .claude/CLAUDE.md may be outdated.
- A repo added multi-provider support and needs a bridge pattern or refresh.
First Step
Read .agents/skills/ref-agents-instructions-authoring/SKILL.md, .agents/skills/ref-agents-persona/SKILL.md, and the provider reference files under the instruction-authoring skill's references/providers/ folder that match the files being touched.
Core Workflow
- Inspect the current instruction files and the code or skill changes that may affect them.
- Ask only the missing questions needed to determine the source of truth, supported providers, and any real provider-specific exceptions.
- Update the source-of-truth instruction file first.
- Refresh provider bridge files so they still point back to the source of truth cleanly.
- Update skill listings, help-routing sections, quick commands, and workflow summaries that drifted.
- Validate that the files still agree and that bridge files remain thin.
Defaults
- Prefer a single source-of-truth instruction file plus thin provider bridges.
- Prefer
.github/copilot-instructions.md as the source of truth when the repo already uses that pattern.
- If the repo supports multiple providers, recommend an import bridge rather than parallel duplicated instruction bodies.
- When the repo carries a deliberate persona or working style, keep that voice aligned with
.agents/skills/ref-agents-persona/SKILL.md instead of rewriting tone ad hoc.
- When skill names or workflows change, update both the source-of-truth file and any provider routing summaries that mention them.
- If the top-level instruction file grows too large, move domain detail into the owning skill and keep only routing at the top level.
Wizard Questions
Ask only the questions that are still unanswered after inspecting the repo.
| Question area |
What to ask |
Why |
When |
Expected outcome |
| Provider support |
Which providers or entry files does this repo actively support now? |
The maintenance pass should not update phantom entry points or miss live ones. |
When the supported provider set is unclear. |
The update scope matches the real instruction surfaces. |
| Source of truth |
Which file should own the real repo guidance after this update? |
The maintenance pass needs one authoritative file before bridges can be refreshed. |
When the current source of truth is unclear or changing. |
One file owns the real workflow and policy text. |
| Provider-specific exceptions |
Does any provider need a real provider-specific note, or should the bridge stay thin? |
Unnecessary provider-specific text creates drift. |
When a bridge file is growing or behaving differently. |
Exceptions stay narrow and justified. |
| Drift scope |
Which commands, workflows, skills, or policies changed? |
The maintenance pass should update the exact sections that drifted, not rewrite the whole file blindly. |
When the triggering change is broad or loosely described. |
The edit is focused on the real drift surface. |
Gotchas
- Do not rewrite every instruction file independently if an import bridge already exists.
- Do not leave skill listings or quick-command sections stale after renames or workflow changes.
- Do not move framework or language detail into the top-level instructions when the owning skill should hold it.
- If the repo already uses policy-managed files such as
.aiexclude or .claude/settings.json, instruction updates should still match that model.
Validation
- Check the result against
.agents/skills/ref-agents-instructions-authoring/references/checklist.md.
- Confirm the source-of-truth file and bridge files still agree.
- Confirm provider bridge files remain minimal unless a real provider-specific exception exists.
- Run a targeted error check on the touched instruction files before concluding.
References
- Read
.agents/skills/ref-agents-instructions-authoring/references/providers/copilot-instructions.md, .agents/skills/ref-agents-instructions-authoring/references/providers/gemini-instructions.md, and .agents/skills/ref-agents-instructions-authoring/references/providers/claude-instructions.md for file-specific authoring rules.
- Use
.agents/skills/ref-agents-persona/SKILL.md when the instruction changes need to preserve the repo's agent voice, interaction style, or escalation stance.
- Use
.agents/skills/tool-maintain-skills/SKILL.md when the instruction pass also needs skill consolidation or routing cleanup.
- Use
.agents/skills/ref-agents-security/SKILL.md when instruction changes must stay aligned with generated policy files or provider restrictions.
Source: swiftpostlab/agentic-tools — distributed by TomeVault.
1---2name: swiftpostlab-agentic-tools-tool-maintain-agents-instructions3description: Maintain Agents Instructions4---56# Maintain Agents Instructions78## Purpose910Guide the agent through a short maintenance wizard so top-level instruction files stay aligned with current repo workflows, skill changes, and provider support without drifting into duplicate or conflicting guidance.1112## When to use this skill1314- The repo's workflows, commands, or package-manager defaults changed.15- Skills were added, removed, renamed, or substantially rewritten.16- `.github/copilot-instructions.md`, `GEMINI.md`, or `.claude/CLAUDE.md` may be outdated.17- A repo added multi-provider support and needs a bridge pattern or refresh.1819## First Step2021Read `.agents/skills/ref-agents-instructions-authoring/SKILL.md`, `.agents/skills/ref-agents-persona/SKILL.md`, and the provider reference files under the instruction-authoring skill's `references/providers/` folder that match the files being touched.2223## Core Workflow24251. Inspect the current instruction files and the code or skill changes that may affect them.262. Ask only the missing questions needed to determine the source of truth, supported providers, and any real provider-specific exceptions.273. Update the source-of-truth instruction file first.284. Refresh provider bridge files so they still point back to the source of truth cleanly.295. Update skill listings, help-routing sections, quick commands, and workflow summaries that drifted.306. Validate that the files still agree and that bridge files remain thin.3132## Defaults3334- Prefer a single source-of-truth instruction file plus thin provider bridges.35- Prefer `.github/copilot-instructions.md` as the source of truth when the repo already uses that pattern.36- If the repo supports multiple providers, recommend an import bridge rather than parallel duplicated instruction bodies.37- When the repo carries a deliberate persona or working style, keep that voice aligned with `.agents/skills/ref-agents-persona/SKILL.md` instead of rewriting tone ad hoc.38- When skill names or workflows change, update both the source-of-truth file and any provider routing summaries that mention them.39- If the top-level instruction file grows too large, move domain detail into the owning skill and keep only routing at the top level.4041## Wizard Questions4243Ask only the questions that are still unanswered after inspecting the repo.4445| Question area | What to ask | Why | When | Expected outcome |46| --- | --- | --- | --- | --- |47| Provider support | Which providers or entry files does this repo actively support now? | The maintenance pass should not update phantom entry points or miss live ones. | When the supported provider set is unclear. | The update scope matches the real instruction surfaces. |48| Source of truth | Which file should own the real repo guidance after this update? | The maintenance pass needs one authoritative file before bridges can be refreshed. | When the current source of truth is unclear or changing. | One file owns the real workflow and policy text. |49| Provider-specific exceptions | Does any provider need a real provider-specific note, or should the bridge stay thin? | Unnecessary provider-specific text creates drift. | When a bridge file is growing or behaving differently. | Exceptions stay narrow and justified. |50| Drift scope | Which commands, workflows, skills, or policies changed? | The maintenance pass should update the exact sections that drifted, not rewrite the whole file blindly. | When the triggering change is broad or loosely described. | The edit is focused on the real drift surface. |5152## Gotchas5354- Do not rewrite every instruction file independently if an import bridge already exists.55- Do not leave skill listings or quick-command sections stale after renames or workflow changes.56- Do not move framework or language detail into the top-level instructions when the owning skill should hold it.57- If the repo already uses policy-managed files such as `.aiexclude` or `.claude/settings.json`, instruction updates should still match that model.5859## Validation6061- Check the result against `.agents/skills/ref-agents-instructions-authoring/references/checklist.md`.62- Confirm the source-of-truth file and bridge files still agree.63- Confirm provider bridge files remain minimal unless a real provider-specific exception exists.64- Run a targeted error check on the touched instruction files before concluding.6566## References6768- Read `.agents/skills/ref-agents-instructions-authoring/references/providers/copilot-instructions.md`, `.agents/skills/ref-agents-instructions-authoring/references/providers/gemini-instructions.md`, and `.agents/skills/ref-agents-instructions-authoring/references/providers/claude-instructions.md` for file-specific authoring rules.69- Use `.agents/skills/ref-agents-persona/SKILL.md` when the instruction changes need to preserve the repo's agent voice, interaction style, or escalation stance.70- Use `.agents/skills/tool-maintain-skills/SKILL.md` when the instruction pass also needs skill consolidation or routing cleanup.71- Use `.agents/skills/ref-agents-security/SKILL.md` when instruction changes must stay aligned with generated policy files or provider restrictions.7273---74> Source: [swiftpostlab/agentic-tools](https://github.com/swiftpostlab/agentic-tools) — distributed by [TomeVault](https://tomevault.io).75<!-- tomevault:4.0:skill_md:2026-05-23 -->