bootstrap-agent-docslisted
Install: claude install-skill gzb1128/skill-forge
# Bootstrap Agent-First Documentation
## Overview
Create a minimal project `AGENTS.md` that helps agents build, test, and orient in
the repository. Do not scaffold a generic `docs/` knowledge base: documentation
categories should be created on demand after useful knowledge is identified.
**Core principle:** Bootstrap structure, not generic knowledge. Ongoing knowledge
capture and cleanup belong to `learn`, `remember`, and `curate`.
Read the plugin-owned
[Knowledge Admission Policy](../../references/knowledge-admission.md) and
[Documentation Structure Reference](../../references/doc-structure.md). Use
them to choose the small amount of high-value entry-point content, but do not
copy either reference into the target repository or invoke `learn`.
**Template source:** This skill ships its template tree alongside itself in the plugin. The templates live at `${CLAUDE_PLUGIN_ROOT}/templates/` once the plugin is installed. Bind it once at the start of the run:
```bash
TEMPLATE_DIR="${CLAUDE_PLUGIN_ROOT}/templates"
[ -d "$TEMPLATE_DIR" ] || { echo "Template dir not found at $TEMPLATE_DIR — plugin may be corrupted"; exit 1; }
```
`${CLAUDE_PLUGIN_ROOT}` is set by Claude Code automatically when this plugin is enabled. If you are running this skill outside of a plugin install (e.g., from a cloned source tree), set `CLAUDE_PLUGIN_ROOT` to the path containing `templates/`.
## When to Use
**Use when:**
- Initializing a repo that has no project `AGENTS.md`
- Creating a minimal agent