Skip to content
Back to skills

Coding Conventions

ASecurity

Provides coding style rules for Python and PowerShell. Apply when writing, editing, reviewing, or debugging code.

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
developmentpythonshelldebuggingrefactoring

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill coding-conventions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding Conventions?

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

Security grade badge for Coding Conventions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-coding-conventions/badge)](https://www.skillsdirectory.com/skills/majiayu000-coding-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: Provides coding style rules for Python and PowerShell. Apply when writing, editing, reviewing, or debugging code.
---

# Coding Conventions

This skill contains language-specific coding convention files.

## Verb Mapping

This skill implements:
- [IMPLEMENT] - Apply coding style during implementation
- [REFACTOR] - Apply coding style during refactoring

**Phases**: IMPLEMENT, REFINE

## Available Convention Files

- `PYTHON-RULES.md` - Python coding conventions (formatting, imports, logging, etc.)
- `JSON-RULES.md` - JSON coding conventions (field naming, 2-space indent, 2D table formatting)
- `WORKFLOW-RULES.md` - Workflow document conventions (structure, formatting)
- `AGENT-SKILL-RULES.md` - Agent skill folder structure and SKILL.md conventions

## Tools

- `reindent.py` - Convert Python file indentation to target spaces

## Usage

Read the appropriate convention file for the language you are working with.

### reindent.py

Convert Python indentation to target spaces. Auto-detects source indentation and skips files already at target. Excludes itself from processing.

```powershell
# Convert folder to 2-space indentation
python reindent.py folder/ --to 2 --recursive

# Dry-run (preview only)
python reindent.py folder/ --to 2 --recursive --dry-run

# Single file
python reindent.py script.py --to 2
```

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.