Skip to content
Back to skills

Conventions

ASecurity

Automatically apply standard coding conventions when writing or modifying code. Use this skill when working with Python, TypeScript, JavaScript, Go, PHP, or creating git commits. Triggers include writing new code, refactoring existing code, or committing changes in supported languages.

  • 13 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 10, 2026
developmentjavascripttypescriptpythongojavaphpbashrefactoringgitdocumentation

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add Mineru98/skills-store --skill conventions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Conventions?

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

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

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

Download with Pro
SKILL.md
---
name: Coding Conventions
description: Automatically apply standard coding conventions when writing or modifying code. Use this skill when working with Python, TypeScript, JavaScript, Go, PHP, or creating git commits. Triggers include writing new code, refactoring existing code, or committing changes in supported languages.
---

# Coding Conventions

## Supported Languages

- **Python** - PEP 8
- **TypeScript** - Google & Microsoft Style Guide
- **JavaScript** - Airbnb Style Guide
- **Go** - Effective Go & Google Style Guide
- **PHP** - PSR Standards
- **Git Commits** - Conventional Commits

## Workflow

When writing or modifying code:

1. **Identify the language** of the file being edited
2. **Read the appropriate convention file** from `references/` directory
3. **Apply conventions consistently** to naming, formatting, documentation, and organization

### Convention Files

- `references/python-conventions.md` - Python (PEP 8)
- `references/typescript-conventions.md` - TypeScript
- `references/javascript-conventions.md` - JavaScript (Airbnb)
- `references/golang-conventions.md` - Go
- `references/php-conventions.md` - PHP (PSR)
- `references/git-commit-conventions.md` - Git commit format

### Git Commit Quick Reference

Follow Conventional Commits format:

```
<type>(<scope>): <subject>
```

**Common types:** `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`

**Rules:**
- Imperative present tense: "add" not "added"
- Lowercase subject, no period
- Keep subject under 50 characters
- Include `Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>`

**Example:**
```bash
feat(auth): add user authentication

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
```

For complete git commit guidelines, see `references/git-commit-conventions.md`.

## Priority Rules

1. **Project-specific conventions** override language defaults
2. **Existing code style** should be matched for consistency
3. **Automatic tools** (ESLint, Prettier, gofmt) should be respected if configured
4. **Convention files** provide the default standards

Files in this skill

  • SKILL.md2 KB
  • references/git-commit-conventions.md10.3 KB
  • references/golang-conventions.md11.6 KB
  • references/javascript-conventions.md10.1 KB
  • references/php-conventions.md10 KB
  • references/python-conventions.md5 KB
  • references/typescript-conventions.md8 KB

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.

Comments

Loading comments…

Newsletter

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