Skip to content
Back to skills

Project Conventions

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 28, 2026
developmentgobashapifrontendbackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add batin/five-guys --skill project-conventions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Project Conventions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Project Conventions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/batin-project-conventions/badge)](https://www.skillsdirectory.com/skills/batin-project-conventions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: project-conventions
description: "{{PROJECT_NAME}} project conventions, naming standards, project layout, commit format, and Definition of Done. Checked before starting code and before committing."
---

# {{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:**
```bash
feat(MODULE-BE-003): short description
fix(MODULE-FE-001): short description
test(MODULE-DB-002): short description
```

## Ownership Boundaries
| Area | Owner |
|------|-------|
| Server-side code, OpenAPI, business rules | Backend agent |
| UI components, screens, client-side state | Frontend agent |
| Schema, migrations, seeds, auth infrastructure, CI | Data/Infra agent |
| Shared schema modules | Backend 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}}

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.