From rauf
Review and update the rauf-installed guidance file (.rauf/RAUF.md) in a rauf-managed project to ensure it's accurate for the target project. Use this skill when the user asks to "review rauf guidance", "check rauf config", "audit rauf files", "update RAUF.md", "fix my rauf setup", or asks whether .rauf/RAUF.md is correct for their project. Also use when the user reports that the rauf loop is using wrong verification commands, missing project context, or behaving as if it doesn't understand the project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rauf:review-rauf-guidanceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When rauf is installed into a project, it creates `.rauf/RAUF.md` — the primary file the autonomous loop agent reads every iteration. If this file is wrong, the loop will waste iterations or produce broken work. This skill walks you through auditing it and fixing any issues.
When rauf is installed into a project, it creates .rauf/RAUF.md — the primary file the autonomous loop agent reads every iteration. If this file is wrong, the loop will waste iterations or produce broken work. This skill walks you through auditing it and fixing any issues.
.rauf/RAUF.md — Per-iteration agent instructionsThis file contains:
<!-- rauf:managed:start --> / <!-- rauf:managed:end --> sentinels) — the test/typecheck/lint/build/format commands the agent runs before marking work complete. These are overwritten by rauf update.agentDelegation is present on a backlog item.rauf update.Read .rauf/RAUF.md
Read .rauf.json
The marker file's profile field shows what rauf detected during installation — stack, package manager, monorepo flag, and commands. This is what drove the template rendering.
Compare the commands in .rauf.json (profile.commands and profile.verify) against the rendered commands in RAUF.md's managed section. They should match exactly. If they don't, the files are out of sync — likely someone ran rauf profile set without rauf update afterward. Flag this as a critical issue before proceeding.
This is the most important step. For each non-empty command in the managed section, actually run it and record pass/fail:
Test command — does it execute the project's test suite? Watch for: wrong package manager prefix, "command not found", test framework not installed.Typecheck command — is there a tsconfig.json? If the project isn't TypeScript, this should be empty.Lint command — does the linter run with the right config?Build command — does it succeed? (May not exist for all projects.)Format command — does the format check pass?verify command — the &&-chained pipeline. Verify the exit code is 0.If a command is empty in the managed section, confirm it's also absent from the full verify chain.
Record results:
If any commands are wrong:
If the rauf CLI is available:
rauf profile set . <key> <value> # Updates .rauf.json AND auto-syncs RAUF.md
If the rauf CLI is not available: edit both files to keep them in sync:
.rauf.json — update profile.commands.<key> and recalculate profile.verify (the &&-joined chain of all non-null commands)..rauf/RAUF.md — update the corresponding entries in the managed section between <!-- rauf:managed:start --> and <!-- rauf:managed:end -->.The verify command in workflow step 6 (Run verification: \...``) is outside the managed sentinels — it was rendered at install time and is not auto-updated. Compare it to the managed section's full verify command. If they differ, update step 6 directly to match.
The section below ## Project-Specific Instructions is where project-specific guidance goes — and it survives rauf update. Consider adding:
If this section is empty (just the HTML comment placeholder), that's a missed opportunity. Help the user populate it with the most impactful guidance for their project.
Present findings organized as:
.rauf.json/RAUF.md out of sync, broken sentinels).For each issue, explain what's wrong and propose the fix. Apply fixes only after the user confirms.
| Symptom | Likely cause | Fix |
|---|---|---|
| Loop fails every iteration on verification | Wrong test/build commands in RAUF.md | Fix commands via rauf profile set or edit both .rauf.json + RAUF.md |
| Loop produces code that violates project patterns | Empty project-specific instructions in RAUF.md | Add key conventions and constraints to project-specific section |
rauf profile set didn't take effect | RAUF.md not synced after profile change | Run rauf update or edit RAUF.md managed section to match |
| Workflow step 6 has stale verify command | Step 6 is outside managed sentinels | Edit step 6 directly to match current verify command |
| Sentinel sections corrupted | Manual editing broke the HTML comment markers | Restore sentinel markers exactly |
| Commands use wrong package manager | Profile detection picked wrong manager | Fix via rauf profile set . packageManager <correct> or edit .rauf.json |
<!-- rauf:managed:start/end --> if you want changes to persist — update .rauf.json profile instead (via rauf profile set or direct edit) and run rauf update.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub garygentry/rauf --plugin rauf