agentleFS
ww-w-aiww-w-ai/bkit-gemini/skills/phase-2-convention/SKILL.md

phase-2-convention

Skill66 starsChanged 7 months agoApache-2.0View on GitHub

Skill for defining coding rules and conventions. Ensures consistent code style and specifies coding standards.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Phase 2: Convention Definition

Establish coding standards and conventions

Categories

1. Naming Conventions

TypeConventionExample
ComponentsPascalCaseUserProfile.tsx
FunctionscamelCasegetUserById()
ConstantsUPPER_SNAKEMAX_RETRY_COUNT
Fileskebab-caseuser-service.ts
CSS Classeskebab-caseuser-card

2. File Structure

src/
├── components/     # UI components
├── hooks/          # Custom hooks
├── lib/            # Utilities
├── services/       # API services
├── types/          # TypeScript types
└── utils/          # Helper functions

3. Git Conventions

feat: Add user login
fix: Resolve password reset bug
docs: Update README
style: Format code
refactor: Extract auth service
test: Add login tests
chore: Update dependencies

4. Code Style

  • Max line length: 100
  • Indentation: 2 spaces
  • Quotes: Single quotes
  • Semicolons: Required
  • Trailing commas: ES5

Output

Save to: docs/01-plan/conventions.md

Next Phase

After completion: /phase-3-mockup

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.