agentleFS
batinbatin/five-guys/skills/project-conventions/SKILL.md

project-conventions

Skill2 starsChanged 2 months agoMITView on GitHub

{{PROJECT_NAME}} project conventions, naming standards, project layout, commit format, and Definition of Done. Checked before starting code and before committing.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When an agent genuinely can't tell which files fall under its concern, it asks the user rather than guessing.

    line 12
  2. Distinctive:

    If two or more of these paths are the same directory (single-repo/single-app project), ownership is decided by file pattern within that …

    line 45
  3. Distinctive:

    If the contract changes, shared is updated first, then FE and BE adapt.

    line 52
  4. Distinctive:

    All acceptance criteria checked and verified

    line 55
  5. Very specific:

    Commit message includes the card ID (e.g.

    line 59

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

{{PROJECT_NAME}} Project Conventions

Project Layout

Ownership is by concern, not by directory. This kit deliberately does not record where things live — layouts differ per project and change over time, and a hardcoded path is a lie waiting to happen. Agents locate their areas by looking at the repo (graphify query if the graph exists, otherwise glob/grep), and the ownership boundaries below hold whatever the layout turns out to be — separate packages in a monorepo, or everything side by side in one src/.

When an agent genuinely can't tell which files fall under its concern, it asks the user rather than guessing. Guessing produces edits in another agent's territory, which is the one failure this ownership model exists to prevent.

  • Package manager: {{PKG_MANAGER}}.
  • Validation schemas live in exactly one shared module; frontend and backend both consume from there and neither re-declares them.

Card ID & Naming

Format: [MODULE-LAYER-SEQ]

Modules: {{MODULES}} (comma-separated, lowercase)

Layers: DB, BE, FE, INFRA, QA

Examples:

  • MODULE-ARCH-001 = a module, architecture layer, 1st card
  • MODULE-BE-005 = a module, backend layer, 5th card
  • MODULE-FE-002 = a module, frontend layer, 2nd card

Commit format:

feat(MODULE-BE-003): short description
fix(MODULE-FE-001): short description
test(MODULE-DB-002): short description

Ownership Boundaries

AreaOwner
Server-side code, OpenAPI, business rulesBackend agent
UI components, screens, client-side stateFrontend agent
Schema, migrations, seeds, auth infrastructure, CIData/Infra agent
Shared schema modulesBackend agent (FE consumes, changes go through BE)

If two or more of these paths are the same directory (single-repo/single-app project), ownership is decided by file pattern within that directory rather than by the directory itself — see the Project Layout note above.

A BE card that needs a schema change adds a [SCHEMA-REQUEST] note to its description; the Data/Infra agent applies it.

Contract-First Rule

  1. The schema is defined in shared before an endpoint is written.
  2. FE works against a mock fixture until the API is ready.
  3. If the contract changes, shared is updated first, then FE and BE adapt.

Definition of Done (every card)

  • All acceptance criteria checked and verified
  • Lint + typecheck clean
  • Relevant tests written and passing
  • FE: uses the UI library, responsive, no custom CSS
  • Commit message includes the card ID (e.g. MODULE-BE-003)
  • Card in Done ✅

Available Optional Skills

{{SELECTED_SKILLS}}

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.