golden-ruleslisted
Install: claude install-skill RealDougEubanks/ClaudeMarketplace
# Golden Rules — Always-On Project Standards
Install mandatory security, coding, design, testing, error handling, API contract, and performance standards into this project's CLAUDE.md so they are active for every Claude Code session automatically.
This skill's version: **1.8.0** (also stamped in the marker comment inside the Golden Rules Block below).
## Instructions
1. Use Read to check if `./CLAUDE.md` exists in the current working directory.
2. Use Grep to search `./CLAUDE.md` for the string `## Golden Rules` (if the file exists).
- **Not found:** proceed to step 3 (fresh install).
- **Found, no argument given:** check for the version marker comment `<!-- golden-rules vX.Y.Z -->` inside the section.
- Marker version equals this skill's version: inform the user the Golden Rules are current and stop.
- Marker is missing or older: inform the user an older install was found and that `/golden-rules --update` will replace it with the current version. Stop without modifying anything.
- **Found, `--update` given:** if the marker is missing or older than this skill's version, replace the entire existing `## Golden Rules` section (from the `## Golden Rules` header up to the next level-2 (`##`) header, or end of file) with the Golden Rules Block below. If already current, say so and stop.
- **Found, `--force` given:** replace the existing section unconditionally.
3. If `CLAUDE.md` does not exist, use Write to create it with the Golden Rules Block below as