From fp-docs
Initialize or verify the fp-docs plugin installation. Checks plugin structure, docs repo setup, codebase gitignore, and branch sync state.
npx claudepluginhub tomkyser/fp-docsThis skill uses the workspace's default tool permissions.
Engine: system
Optimizes CLAUDE.md hierarchies, .claude/rules, ecosystem files, and docs/ folders per Anthropic best practices. Detects redundancies, conflicts, and suggests improvements.
Initializes projects for Claude Code by generating CLAUDE.md with progressive disclosure docs, auto-format hooks, test infrastructure; scaffolds empty directories via stack tooling; audits/syncs docs. Supports monorepos/multi-repo git workspaces.
Updates README, .correctless/AGENT_CONTEXT.md, ARCHITECTURE.md, and feature docs after features land. Intensity-aware with Mermaid diagrams at high level and fact-checking subagent at critical. Run before merging.
Share bugs, ideas, or general feedback.
Engine: system Operation: setup Instruction: framework/instructions/system/setup.md
Verify AND initialize the fp-docs system:
.claude-plugin/plugin.json manifestgit rev-parse --show-toplevelgit clone https://github.com/tomkyser/docs-foreignpolicy-com {codebase-root}/themes/foreign-policy-2017/docs
c. If no: note as "docs repo not configured" and continuethemes/foreign-policy-2017/docs/ is in the codebase repo's .gitignoregit rev-parse --show-toplevel.git/hooks/post-merge already exists -- inform user of backup if sonode {plugin-root}/fp-tools.cjs drift install --codebase-root {codebase-root}.git/hooks/post-merge and .git/hooks/post-rewrite exist and are executablenode {plugin-root}/fp-tools.cjs drift shell-install --codebase-root {codebase-root}source "{codebase-root}/.fp-docs-shell.zsh"~/.claude/hooks/fp-docs-statusline.js if not present~/.claude/settings.json already references the statusline hookAfter completing all phases, check if codebase CLAUDE.md contains fp-docs configuration. If not, include in setup report: "WARNING: CLAUDE.md not configured for fp-docs. Run /fp-docs:update-claude to configure."
$ARGUMENTS