Skill: context-files-bootstrap
Purpose
Create and maintain a multi-tool context setup using AGENTS.md as canonical source and synced adapter files for other tools.
When to use
Use this skill when the user asks to:
- Create
AGENTS.mdfrom scratch - Translate existing context files to a unified format
- Add
CLAUDE.md,GEMINI.md,COPILOT.md,CURSOR.md,CODEX.md,AGENT.mdadapters - Keep all context files synchronized after process changes
Output files
Mandatory:
AGENTS.md(canonical)
Optional adapters (create only requested ones):
CLAUDE.mdGEMINI.mdCOPILOT.mdCURSOR.mdCODEX.mdAGENT.md
Workflow
- Inspect existing docs (
README.md, CI workflows, lint/test scripts, architecture docs). - Draft
AGENTS.mdwith executable commands and explicit conventions. - Create adapter files as thin wrappers that point to
AGENTS.md. - Verify consistency across files.
- Return a short changelog with touched paths and any assumptions.
AGENTS.md minimum sections
- Project overview
- Setup commands
- Development/test/lint/typecheck/build commands
- Code style and architecture rules
- Security and secret handling
- Contribution flow (commit/PR)
Quality rules
- Prefer precise commands over generic text.
- Avoid duplicated policy text across adapters.
- Keep adapters short and stable.
- If something is unknown, mark as
TODO:instead of inventing details.
Adapter template
Use this exact structure for adapters:
# <TOOL_FILE_NAME>
This repository uses `AGENTS.md` as the canonical agent context.
Read and apply first: `./AGENTS.md`
If this file conflicts with `AGENTS.md`, `AGENTS.md` wins.
If user instructions in chat conflict, user instructions win.
Maintenance mode
When updating an existing project:
- Update
AGENTS.mdfirst. - Refresh adapter files only if precedence text is missing or stale.
- Do not add tool-specific behavior unless explicitly requested.
Deliverable style
- Keep final response concise.
- Include list of created/updated files.
- Include 1-2 practical next steps.