repository-agent-bootstrap
Skill0 starsChanged 4 months agoMITView on GitHub
Audits and bootstraps repository-owned agent customization including AGENTS.md, repository and path-scoped instructions, custom agents, and skills, without overwriting established conventions. Use to set up, review, or maintain a repository's agent guidance, add a skill or agent, or fix overlapping, stale, or overly broad customization.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-tool-interface-designSkill
- codebase-explorationSkill
- code-reviewSkill
- copilot-cloud-agentSkill
- documentation-maintenanceSkill
- external-skill-reviewSkill
- git-and-pr-workflowSkill
- parallel-worktree-deliverySkill
- planning-and-task-breakdownSkill
- refactoring-and-dead-code-removalSkill
- requirements-and-spec-writingSkill
- security-reviewSkill
- shadow-architectureSkill
- shadow-dreamSkill
- shadow-driftSkill
- shadow-observeSkill
- skill-creatorSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- verification-disciplineSkill
- wayfinder-planningSkill
- web-research-and-verificationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 20 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Treat user-level or global configuration as personal, cross-repository policy.
- Distinctive: line 20
Treat AGENTS.md, repository instructions, scoped instructions, agents, and skills inside the repository as project-owned and shareable with …
- Distinctive: line 22
Do not copy global preferences into project files unless they are genuine repository requirements.
- Distinctive: line 24
Do not modify global configuration while bootstrapping a repository.
- Distinctive: line 30
Prefer improving an existing artifact over creating a competing artifact.
- Distinctive: line 31
Keep root guidance concise and place specialized details near their scope.
- Distinctive: line 32
Use repository instructions for broad project rules and scoped instructions for path-specific conventions.
- Distinctive: line 34
Use skills for reusable task workflows that benefit from on-demand loading.
- Distinctive: line 35
Add an agent only when a distinct role, isolated context, tool boundary, or handoff is required.
- Distinctive: line 39
Ask before deleting, renaming, or reorganizing existing customizations.
- Distinctive: line 41
Read artifact selection when unsure which customization type a requirement belongs in.
- Distinctive: line 49
Read existing root and nested AGENTS.md files, repository instructions, scoped instructions, agents, skills, contributor guidance, and task …
- Distinctive: line 68
Follow the approved plan and preserve unrelated content.
- Distinctive: line 69
Update existing files before adding new ones.
- Distinctive: line 70
Keep AGENTS.md navigational, repository instructions broadly applicable, and scoped instructions limited to accurate path patterns.
- Distinctive: line 72
Keep agents focused on roles that need distinct context or permissions.
- Distinctive: line 73
Keep skills task-oriented, self-contained, and progressively disclosed.
- Distinctive: line 74
Update nearby indexes or discovery documents only when repository convention requires it.
- Distinctive: line 79
Check syntax, frontmatter, names, path globs, relative references, and links.
- Distinctive: line 82
Run the repository's narrow customization or documentation checks when they exist.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Agent Bootstrap
Audit and improve a repository's agent customization without replacing its established conventions. Keep the result small, project-owned, and easy to load through progressive disclosure.
Ownership Boundaries
- Treat user-level or global configuration as personal, cross-repository policy.
- Treat
AGENTS.md, repository instructions, scoped instructions, agents, and skills inside the repository as project-owned and shareable with contributors. - Do not copy global preferences into project files unless they are genuine repository requirements.
- Do not modify global configuration while bootstrapping a repository. Report global conflicts or missing global capabilities separately.
Design Rules
- Preserve existing names, locations, terminology, formatting, and precedence.
- Prefer improving an existing artifact over creating a competing artifact.
- Keep root guidance concise and place specialized details near their scope.
- Use repository instructions for broad project rules and scoped instructions for path-specific conventions.
- Use skills for reusable task workflows that benefit from on-demand loading.
- Add an agent only when a distinct role, isolated context, tool boundary, or handoff is required. Do not generate redundant personas.
- Reference resources relatively and avoid duplicating material that can be linked or discovered when needed.
- Ask before deleting, renaming, or reorganizing existing customizations.
Read artifact selection when unsure which customization type a requirement belongs in.
Required Steps
Step 1: Discover
- Identify the repository root and inspect its status without changing files.
- Read existing root and nested
AGENTS.mdfiles, repository instructions, scoped instructions, agents, skills, contributor guidance, and task commands. - Determine which files apply by path and which conventions already control naming, frontmatter, validation, and maintenance.
- Inventory gaps, overlaps, stale references, conflicting rules, and content that is loaded more broadly than necessary.
- Separate project-owned findings from global or user-owned findings.
Step 2: Plan
- State the repository's current customization model and precedence.
- Propose the smallest set of keep, update, and create actions.
- Map each requirement to the narrowest appropriate artifact.
- Explain any proposed agent or skill by the capability it uniquely adds.
- Confirm ambiguous ownership or destructive changes with the user before implementation.
Step 3: Implement
- Follow the approved plan and preserve unrelated content.
- Update existing files before adding new ones.
- Keep
AGENTS.mdnavigational, repository instructions broadly applicable, and scoped instructions limited to accurate path patterns. - Keep agents focused on roles that need distinct context or permissions.
- Keep skills task-oriented, self-contained, and progressively disclosed.
- Update nearby indexes or discovery documents only when repository convention requires it.
Step 4: Validate
- Check syntax, frontmatter, names, path globs, relative references, and links.
- Confirm every rule has one clear owner and no new artifact shadows or repeats existing guidance.
- Run the repository's narrow customization or documentation checks when they exist. Do not invent dependencies solely for validation.
- Review the final diff for unrelated changes and accidental global edits.
- Report created and modified files, checks run, unresolved conflicts, and recommended global actions that remain outside project ownership.
Completion Criteria
Finish only when the repository has a coherent discovery path, specialized content loads on demand, existing conventions remain intact, and validation results are explicit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

