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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualitypythonshelldebuggingrefactoring

Security analysis

A100/100

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

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --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/david-li0406-coding-conventions/badge)](https://www.skillsdirectory.com/skills/david-li0406-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.)
- `WORKFLOW-RULES.md` - Workflow document conventions (structure, formatting)

## 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
```

Files in this skill

  • AGENT-SKILL-RULES.md10.6 KB
  • PYTHON-RULES.md16.7 KB
  • SKILL.md1.2 KB
  • WORKFLOW-RULES.md2.6 KB
  • reindent.py4.1 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…