project-conventions
Skill41 starsChanged 4 months agoMITView on GitHub
Defines project structure, naming conventions, and way of working for all projects; other skills link here for the canonical specs. Use when the user mentions "project setup", "project structure", "conventions", "init", "initialize project", "directory structure", or starts a new project.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- batin/five-guystheir own version, first seen Sep 22, 2026
- g-cqd/skillstheir own version, first seen Sep 4, 2026
- goonobu-dot/dev-skills-librarytheir own version, first seen Jul 8, 2026
- choi138/tokitheir own version, first seen Jun 5, 2026
- github/gh-awtheir own version, first seen May 27, 2026
- microsoft/Generative-AI-for-beginners-dotnettheir own version, first seen Mar 16, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- github/gh-aw★ 5.3ksame name
- microsoft/Generative-AI-for-beginners-dotnet★ 3.1ksame name
- choi138/toki★ 9same name
- batin/five-guys★ 2same name
- g-cqd/skills★ 2same name
- goonobu-dot/dev-skills-library★ 0same name
- yangmour/base-agents-workspace★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectureSkill
- business-analysisSkill
- codingSkill
- consistency-checkSkill
- dia-bootstrapSkill
- dia-guideSkill
- dia-realignSkill
- dia-setupSkill
- humanizerSkill
- requirements-engineeringSkill
- security-auditSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
All skills operate in the context of the existing codebase, never in a vacuum.
- Very specific: line 33
Reader budget: Every artifact scannable in under two minutes, enforced as per-artifact line caps in the single source …
- Distinctive: line 111
Every non-trivial plan has: 1.
- Distinctive: line 113
Not affected (blast radius), 5.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project structure and conventions
This skill defines the binding standards for directory structures, file
names, and ways of working. All other skills (BA, RE, Architecture,
Coding, Testing, Security Audit) follow these conventions. Details live
in references/; load a reference file only when the task touches its
area.
Codebase-awareness (core principle)
All skills operate in the context of the existing codebase, never in a
vacuum. Read references/codebase-awareness.md for the complete rules.
Summary: before any work, read existing code, recognize patterns,
understand dependencies, check reference implementations. The project's
CLAUDE.md takes PRECEDENCE over generic skill instructions.
Canonical Specs (single home; other skills link here)
Index. Full detail: references/canonical-specs.md. Phase skills and
templates never restate these specs; they link here.
- Reader budget. Every artifact scannable in under two minutes,
enforced as per-artifact line caps in the single source
references/artifact-caps.json(read at runtime by/consistency-check; never mirror the values). Exceeding a cap needs a one-line## Reasoned exceptionblock at the top of the file, added only with justification, never routinely. ARCHITECTURE-MAP, MODULE-README, JSDOC-HEADER and RULES-* carry their caps in their template comments. - Frontmatter spec. Identity and relations only;
status,phase,author,claimare forbidden (N-15). Empty refs are omitted, never stubbed. Full key list in the reference. - Backlog vocabulary. Binding column order, GitHub-aligned status
values, phase tags
<id>/<phase>-done, DIA commit trailers (DIA-Phase,DIA-Handoff,DIA-Triage), ID schema, Claim and Refs column formats. Full vocabulary in the reference. - Writing style. Zero em/en dashes, no AI vocabulary, active
voice, sentence case in headings. Blacklist and pre-save scan:
references/writing-style.md(single home, also used by/humanizer). - Activation Path format. Fixed
## Activation Pathsection in every FEATURE spec, parsed by N-18. Exact format in the reference. - Priority / Effort legend. P0-P3 and XS-XL definitions in the reference. XL at FEAT scope means: split first.
- Three-layer model. Wayfinder / rule sets / backlog / detail
artifacts with binding boundaries, the ADR abstraction rule (A-1)
and the ADR/FEATURE/PLAN separation:
references/three-layer-model.md. - Section policy. Sections are emitted only when they carry
decision content; optional sections live in template comments, not
as
TBDplaceholders.
Backlog as single source of truth
State lives in the BACKLOG row, never in artifact frontmatter. The row
exists before the artifact and changes before the body. Lifecycle and
sync chain: references/backlog-sot.md.
Directory structure
Full reference: references/directory-structure.md.
{project}/
_devprocess/ -- Internal knowledge archive (not public)
analysis/ -- Flat: BA-, EXPLORE-, AUDIT-, RESEARCH- (sources/ for user files)
requirements/ -- Epics, features, fixes, improvements, handoff
architecture/ -- ADRs, arc42
rules/ -- Stable rule sets (full profile), max 500 lines total
implementation/plans/ -- PLAN files
context/ -- BACKLOG.md, BACKLOG-HISTORY.md, METRICS.md
src/ -- Source code + ARCHITECTURE.map + module READMEs
docs/ -- Public documentation (English)
scripts/ memory/ .claude/ -- Tooling, memory, Claude config
CLAUDE.md -- Project-specific contextFile name conventions
Full reference: references/naming-conventions.md. Rules: 2-digit
counters, kebab-case slugs, no spaces, no umlauts in file names.
Features are numbered within their epic (FEAT-{ee}-{ff}-{slug}.md),
which keeps parallel epic work conflict-free and sort order stable.
Language conventions
| Context | Language |
| Conversation with user | User's language |
| Commit messages | English, conventional prefixes |
Private documentation (_devprocess/) | Match the user's chat language |
Public documentation (docs/, README) | English |
| Code, identifiers, skill files | English |
Artifact-language rule (binding, incl. the one clarifying question on
ambiguity): references/canonical-specs.md#artifact-language-binding.
Plan structure
Every non-trivial plan has: 1. Context (diagnostic, root cause), 2. Changes (per file, BEFORE/AFTER), 3. File summary table, 4. Not affected (blast radius), 5. Verification (build is step 1).
Git workflow
- Dual-remote: private (origin, all branches) + public (only main)
- Branch flow:
feature/*->dev->main->public/main - Safe-merge: merges to dev via
scripts/merge-to-dev.sh - Commits: conventional prefixes, Co-Authored-By Claude, DIA trailers on phase-end commits (see canonical spec 3)
- Two-stage stripping for public (dev tooling, then internal docs)
Initializing a project
Base structure, initial files, and the full mkdir block:
references/canonical-specs.md#initializing-a-project. In the lean
profile, rules consolidate into AGENTS.md instead of
_devprocess/rules/; see skills/dia-setup/SKILL.md.
Keywords
Project structure, conventions, init, project setup, directory structure, naming conventions, coding standards, way of working
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

