Skip to content
Skills Library
Programming · Review & audit

project-standards

/project-standards

Create and enforce a project's coding standards pack, so code Claude writes stays consistent with the locked stack, architecture and rules across sessions. Use when the user wants to set up conventions or guardrails for a codebase, asks Claude to follow "our stack" or "project rules", or when a repo already has a standards pack in .claude/skills and code is being written or reviewed.

Licence
MIT
Last repository change
03.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
14
Scripts
1
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/check_rules.py

What it does and when to use it

Create and enforce a project's coding standards pack, so code Claude writes stays consistent with the locked stack, architecture and rules across sessions. Use when the user wants to set up conventions or guardrails for a codebase, asks Claude to follow "our stack" or "project rules", or when a repo already has a standards pack in .claude/skills and code is being written or reviewed.

Triggers from the description

our stackproject rules
Original author description

Create and enforce a project's coding standards pack, so code Claude writes stays consistent with the locked stack, architecture and rules across sessions. Use when the user wants to set up conventions or guardrails for a codebase, asks Claude to follow "our stack" or "project rules", or when a repo already has a standards pack in .claude/skills and code is being written or reviewed.

How it works

  1. Mode 1: create a pack
  2. Mode 2: build with a pack
  3. Mode 3: change a decision
  4. Mode 4: review
  5. Worked example
Original SKILL.md headings · 52 lines, 567 words
SKILL.md preview
---
name: project-standards
description: Create and enforce a project's coding standards pack, so code Claude writes stays consistent with the locked stack, architecture and rules across sessions. Use when the user wants to set up conventions or guardrails for a codebase, asks Claude to follow "our stack" or "project rules", or when a repo already has a standards pack in .claude/skills and code is being written or reviewed.
---

# Project Standards

AI coding assistants drift. Across sessions they swap libraries, invent folder layouts, skip validation and forget decisions made last week. This skill fixes that with a **standards pack**: three small project skills plus a progress log, kept in the repo and read before any code is written.

```
.claude/
├── skills/
│   ├── <project>-build/SKILL.md      master: locked decisions, layout, session rules
│   ├── <project>-frontend/SKILL.md   UI detail layer + definition of done
│   └── <project>-backend/SKILL.md    server/data detail layer + definition of done
└── standards-rules.json              machine-checkable rules (optional)
PROGRESS.md                           living build log, read at the start of every session
```

The build skill is the shared source of truth. The frontend and backend skills add detail and never contradict it. Project docs (`docs/*.md`) win over all three. When they disagree, follow the docs and tell the user about the drift.

## Mode 1: create a pack

1. **Read the repo first.** `package.json` or equivalent, config files, folder layout, existing docs, README, and any existing `.claude/` or `CLAUDE.md`. Record what is already decided by the code itself.
2. **Interview for the gaps.** Ask only about decisions the repo does not answer. Group them so it takes one or two rounds. The checklist is in `references/decision-checklist.md`. Typical gaps: UI library or hand-built, auth provider, migration tool, hosting target, tenancy, money and date handling, i18n, audit and deletion policy.
3. **Write the pack** from `templates/`. Fill every placeholder. Rules must be specific and testable:
   - Weak: "Write secure code."
   - Strong: "Every mutation re-checks the user's role server-side, even when middleware already did."
4. **Write a definition of done** at the end of the frontend and backend skills. Each item must be checkable by reading a diff.
5. **Add machine rules** for anything a regex can catch (hard-coded colours, banned imports, literal brand names) in `.claude/standards-rules.json`. See `references/rules-format.md`.
6. **Create `PROGRESS.md`** from `templates/PROGRESS.md` with the current stage and the next 3 to 5 tasks.
7. Show the user the locked-decisions table for confirmation before saving.

## Mode 2: build with a pack

When the repo has a pack, follow this loop for every coding task:

1. Read `PROGRESS.md`, then the build skill, then the frontend or backend skill for the area being changed.
2. Before writing code, name the locked decisions that apply. If the request conflicts with one, stop and ask. Never quietly deviate.
3. Write the code.
4. Run `python3 <skill-dir>/scripts/check_rules.py` from the repo root if `standards-rules.json` exists, and fix every finding.
5. Walk the definition of done for each area touched, item by item.
6. Update `PROGRESS.md`: move finished items to Done, add new decisions or gotchas, update "Last updated". A change without a progress update is incomplete.

## Mode 3: change a decision

The user may revise any locked decision. When they do, update the relevant `docs/*.md`, the build skill, the detail skill and the rules file in the same change, and log the decision with its reason in `PROGRESS.md`.

## Mode 4: review

To review a branch or PR against the pack, run the rule checker on the changed files, then check the diff against each definition-of-done item and list findings as: rule broken, file and line, suggested fix.

## Worked example

`examples/suwa/` is the full pack from [Suwa](https://github.com/thusalapi/Suwa), a self-hosted clinic management system built with Next.js, PostgreSQL, Drizzle and Liquibase. Use it as a reference for the level of detail a good pack needs.
Files in this package (14)
  • README.md 3 KB
  • SKILL.md 4 KB
  • examples/suwa/README.md 1 KB
  • examples/suwa/.claude/standards-rules.json 2 KB
  • examples/suwa/.claude/skills/suwa-backend/SKILL.md 6 KB
  • examples/suwa/.claude/skills/suwa-build/SKILL.md 6 KB
  • examples/suwa/.claude/skills/suwa-frontend/SKILL.md 6 KB
  • references/decision-checklist.md 2 KB
  • references/rules-format.md 2 KB
  • scripts/check_rules.py 4 KB
  • templates/PROGRESS.md 1 KB
  • templates/backend.md 2 KB
  • templates/build.md 2 KB
  • templates/frontend.md 1 KB

Versions

The database has no other skills named project-standards.

Database snapshot: 13.11.2026 · package version c06413c12782 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100audit-standards
    Audits the current project against the development standards defined in ~/.claude/CLAUDE.md. Documents non-compliant findings as GitHub issues and writes a prioritised fix plan to the project CLAUDE.md. Use when the user says audit against settings, audit standards, check…
  • 100project-conventions
    Create or update a CONVENTIONS.md that records a project's architecture, layout, approved libraries, coding rules, security defaults and anti-patterns, based on what the codebase actually does. Use when the user asks to document team conventions, onboard a new repo, write down…
  • 100architect-foundation
    Use when the user wants to set up architecture rules, code standards, guardrails, fitness functions, lint configs, or enforce project conventions after onboarding has run. Reads .claude/project-understanding.md (written by /dso:onboarding) and uses Socratic dialogue to surface…
  • 100learn
    Provides autonomous project pattern learning by analyzing the codebase to discover development conventions, architectural patterns, and coding standards, then generates project rule files in .claude/rules/. Use when user asks to "learn from project", "extract project rules",…
  • 100review-setup
    Create or update `docs/architecture/overview.md`, the project context document that the `pr-review` and `pr-fix` skills use as their reference for this project's stack, layers, data flow, conventions, and checkable architecture rules. Analyzes the codebase, asks the user…
  • 100coding-standards
    Canonical cross-language coding standards reference. Shared rules embedded by reviewer agents. Activate when: viewing coding standards, checking naming rules, reviewing style baseline, consulting style guide, what are the rules.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.