code-rules
Installation
SKILL.md
Code Rules
Universal rules for all languages + index to language-specific guides.
Language Rules
Should USE ‘English’ for all code comments, docstrings, and commit messages. This ensures clarity and consistency across projects and collaborators.
Tier 1: Essential (Universal)
ALWAYS follow these. No exceptions.
- Format before commit: Run the language-specific formatter
- Type hints / annotations: Required on all public functions
- No magic: No hidden side effects, no implicit behavior
- Tests: Write tests for new functionality
- Docstrings: On modules, classes, and public functions
Pre-Commit Documentation Check
Related skills
More from frankieew/agent-skills
pr-worktree-workflow
Complete workflow for creating git worktrees and Pull Requests, including worktree setup, branch management, and PR creation.
11mathlib-workflow
Complete workflow for contributing to mathlib (Lean 4), including repo setup, git workflow, PR creation, and review process.
6tmux
>
4mathlib-style
Code style guide for mathlib (Lean 4), including naming conventions, formatting rules, and documentation requirements.
4lmfdb-cli
>
2ssh
>
1