pre-audit-setup

Installation
SKILL.md

/pre-audit-setup

Idempotent preparation that every audit in the architect-playbook expects to have been run at least once in the target project. Run this immediately after installing the skills.

Usage

/pre-audit-setup                 # do everything that has not been done yet
/pre-audit-setup --force         # rebuild the knowledge graph and rewrite the hook even if both already exist
/pre-audit-setup --dry-run       # describe what would change without modifying anything

What this skill does

  1. Verifies graphify is installed at ~/.claude/skills/graphify. This skill does not install graphify. If it is missing, stop and tell the user where to install it (see https://graphify.net/graphify-claude-code-integration.html). Do not invent a clone URL.
  2. Builds the project knowledge graph by invoking /graphify . from the current working directory. Subsequent audits read graphify-out/graph.json and graphify-out/GRAPH_REPORT.md as their map of the codebase.
  3. Merges the graphify-aware PreToolUse hook into the project-local .claude/settings.json (creating the file if needed). The hook attaches a hint to every Glob and Grep call: when the knowledge graph exists, Claude is reminded to read the report before searching raw files.
  4. Creates the .architect-audits/ directory that downstream audits will write findings into. Adds a single .gitkeep so it survives git clean.
  5. Prints a checklist describing what was done, what was already in place, and what the user should verify before launching audits.
Installs
1
GitHub Stars
3
First Seen
Oct 17, 2026