Dignified Python Standards
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
Apply distilled coding principles from 14 classic software books to code review, refactoring, design, and implementation decisions.
$ npx skills add magnus919/agent-skills --skill programming-principles -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install magnus919/agent-skills programming-principles --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/programming-principles .claude/skills/programming-principles && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "programming-principles" agent skill from https://github.com/magnus919/agent-skills/tree/main/programming-principles into .claude/skills/programming-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "programming-principles", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/magnus919/agent-skills/tree/main/programming-principlesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add magnus919/agent-skills --skill programming-principles -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install magnus919/agent-skills programming-principles --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/programming-principles .agents/skills/programming-principles && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "programming-principles" agent skill from https://github.com/magnus919/agent-skills/tree/main/programming-principles into .agents/skills/programming-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "programming-principles", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add magnus919/agent-skills --skill programming-principles -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install magnus919/agent-skills programming-principles --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/programming-principles .cursor/skills/programming-principles && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "programming-principles" agent skill from https://github.com/magnus919/agent-skills/tree/main/programming-principles into .cursor/skills/programming-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "programming-principles", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/magnus919/agent-skills.git --path programming-principles--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add magnus919/agent-skills --skill programming-principles -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install magnus919/agent-skills programming-principles --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/programming-principles .gemini/skills/programming-principles && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "programming-principles" agent skill from https://github.com/magnus919/agent-skills/tree/main/programming-principles into .gemini/skills/programming-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "programming-principles", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install magnus919/agent-skills programming-principlesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add magnus919/agent-skills --skill programming-principles -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/programming-principles .github/skills/programming-principles && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "programming-principles" agent skill from https://github.com/magnus919/agent-skills/tree/main/programming-principles into .github/skills/programming-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "programming-principles", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add magnus919/agent-skills --skill programming-principles -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install magnus919/agent-skills programming-principles --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/programming-principles .opencode/skills/programming-principles && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "programming-principles" agent skill from https://github.com/magnus919/agent-skills/tree/main/programming-principles into .opencode/skills/programming-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "programming-principles", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
programming-principlesApply distilled coding principles from 14 classic software books to code review, refactoring, design, and implementation decisions.
Programming Principles is an agent skill from magnus919/agent-skills. Apply distilled coding principles from 14 classic software books to code review, refactoring, design, and implementation decisions. Do not use for language- or framework-specific tutorials, tool manuals, or tasks already governed by a project's established conventions.
Its SKILL.md is about 4.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 35 other files, including reference files (for example `README.md`, `evals/evals.json` and `references/a-philosophy-of-software-design.full.md`). Compatibility notes: Platform-agnostic. Works with any agent that supports the Agent Skills directory format. No external dependencies.
It sits in Development, covering Refactoring and Code review. The repository describes itself as: Curated collection of AI agent skills for Hermes and other agent frameworks. The licence is MIT.
Read from SKILL.md and the folder at commit 96fbe07. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Platform-agnostic. Works with any agent that supports the Agent Skills directory format. No external dependencies.
From compatibility in the SKILL.md frontmatter.
Programming Principles loads about 4.7k tokens when it runs, and up to ~89k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 2,160 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from magnus919/agent-skills at commit 96fbe07, republished under its MIT licence (© magnus919). 2,160 words, ~4,742 tokens.
.claude/skills/programming-principles/SKILL.md (or your agent's skills folder). This skill also uses 33 other files; get the full folder from GitHub.Principles distilled from the mattpocock/agent-rules-books repo — 14 pre-made
AGENTS.md rule sets derived from classic software engineering books. Use this
skill directly during code review, refactoring, design, and implementation.
For deeper per-book coverage, load the relevant reference file.
When the task involves... Load / apply principles from ──────────────────────────────────────────────────────────────────────── Everyday implementation & code review Clean Code, Code Complete Refactoring existing code Refactoring, WELC Architecture / dependency management Clean Architecture, APoSD Domain modeling / business rules DDD, DDD Distilled, IDDD Enterprise app patterns / layering PoEAA Production reliability / stability Release It! Data consistency / scalability / events DDIA Engineering craft / automation Pragmatic Programmer Designing APIs / module boundaries APoSD Legacy code / risky changes WELC, Refactoring
For a structured, reproducible workflow that combines book principles with
actual repo exploration, see references/code-assessment-workflow.md. It
covers: loading the evaluation framework, reading the repo and GitHub context,
deduplicating against existing issues/PRs, classifying findings by book +
priority, and deciding whether each merits an issue.
Principles synthesized from multiple books, organized by concern.
Readability, local reasoning, maintainability. Corrects: "working code = clean."
Deep modules, information hiding, complexity reduction. Corrects: "familiar patterns = simple."
Business rules independent of frameworks/databases/UI. Corrects: "details = architecture."
Construction discipline, defect reduction, verifiable code. Corrects: "typing = construction."
Ubiquitous language, bounded contexts, tactical patterns. Corrects: "model = data schema."
Practical DDD: aggregates, events, services, persistence. Corrects: "renamed CRUD = DDD."
Layering, patterns for enterprise apps. Corrects: "more patterns = better design."
Behavior-preserving structural improvement. Corrects: "cleanup = rewrite."
Safe change in untested code. Corrects: "rewrite = first move."
Distributed data, consistency, events, replication. Corrects: "everything is local/ordered/exactly-once."
Production reliability, stability patterns. Corrects: "happy path = production readiness."
Engineering craft, accountability, automation. Corrects: "local edit = done."
Smell catalog and technique catalog. Corrects: "pattern = always the answer."
references/refactoring-guru.full.md for the full catalogBooks that CONFLICT (do not load as equal guidance):
Books that OVERLAP (choose one, they push similar pressure):
All other pairs are complementary. Default: one primary always-on book, others loaded on-demand per task.
Each book's mini rule set is available as a local reference file under
references/. Load any with:
skill_view(name='programming-principles', file_path='references/{book-dir}.mini.md')| File | Book |
|---|---|
references/a-philosophy-of-software-design.mini.md | A Philosophy of Software Design |
references/clean-architecture.mini.md | Clean Architecture |
references/clean-code.mini.md | Clean Code |
references/code-complete.mini.md | Code Complete |
references/designing-data-intensive-apps.mini.md | Designing Data-Intensive Applications |
references/domain-driven-design.mini.md | Domain-Driven Design |
references/domain-driven-design-distilled.mini.md | DDD Distilled |
references/implementing-domain-driven-design.mini.md | Implementing DDD |
references/patterns-of-eaa.mini.md | Patterns of Enterprise App Architecture |
references/refactoring.mini.md | Refactoring |
references/refactoring-guru.mini.md | Refactoring.Guru |
references/release-it.mini.md | Release It! |
references/the-pragmatic-programmer.mini.md | The Pragmatic Programmer |
references/working-effectively-with-legacy-code.mini.md | Working Effectively with Legacy Code |
references/code-assessment-workflow.md | Assessment methodology — not a book, but the workflow for combining all books against a real repo |
Each book also has a full version (11-42 KB) for deep reference when you need the complete rule catalog. Load on demand:
skill_view(name='programming-principles', file_path='references/{name}.full.md')Note: references/refactoring-guru.full.md is an index that routes to two part
files (refactoring-guru.full-smells-and-priorities.md and
refactoring-guru.full-technique-playbook-and-safety.md). Loading the index
shows the "Parts of this reference" table; then load the specific part you need.
| Full File | Book | Size |
|---|---|---|
references/a-philosophy-of-software-design.full.md | A Philosophy of Software Design | 13 KB |
references/clean-architecture.full.md | Clean Architecture | 17 KB |
references/clean-code.full.md | Clean Code | 13 KB |
references/code-complete.full.md | Code Complete | 12 KB |
references/designing-data-intensive-apps.full.md | Designing Data-Intensive Applications | 16 KB |
references/domain-driven-design.full.md | Domain-Driven Design | 42 KB |
references/domain-driven-design-distilled.full.md | DDD Distilled | 11 KB |
references/implementing-domain-driven-design.full.md | Implementing DDD | 12 KB |
references/patterns-of-eaa.full.md | Patterns of Enterprise App Architecture | 15 KB |
references/refactoring.full.md | Refactoring | 17 KB |
references/refactoring-guru.full.md | Refactoring.Guru | index + 2 parts |
references/release-it.full.md | Release It! | 13 KB |
references/the-pragmatic-programmer.full.md | The Pragmatic Programmer | 13 KB |
references/working-effectively-with-legacy-code.full.md | Working Effectively with Legacy Code | 13 KB |
Progressive disclosure pattern: load the mini file for daily guidance (triggers, decision rules, final checklist). Load the full file only for deep sessions, audits, or when you need the complete rule catalog with code-smell indexes and technique references.
© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 33 other files (references) in programming-principles of magnus919/agent-skills.
Open the folder on GitHubat commit 96fbe07
Programming Principles next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Programming Principles this skillmagnus919/agent-skills | 111 | — | ~4.7k | Automated safety check: Pass | MIT | |
| Dignified Python Standardsdocling-project/docling | 68k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Clean Code GuardamElnagdy/guard-skills | 1.3k | 2 repos | ~4.3k | Automated safety check: Pass | MIT | |
| Maintainable Code for iPolloWorkDevin-AXIS/iPolloWork | 6.7k | — | ~2.7k | Automated safety check: Pass | Custom licence | |
| Cyclomatic Complexitysaurabhkumar8112/cyclomatic-complexity-skill | 405 | — | ~761 | Automated safety check: Pass | Apache-2.0 | |
| Code Review Graph Navigatorhandsontable/handsontable | 22k | — | ~939 | Automated safety check: Pass | Custom licence |
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
amElnagdy/guard-skills
Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.
Devin-AXIS/iPolloWork
A code-change gate for the iPolloWork repository: search and reuse first, keep one source of truth, justify every new file or dependency, and audit the change.
saurabhkumar8112/cyclomatic-complexity-skill
Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension.
handsontable/handsontable
Queries a pre-built, Tree-sitter-based code graph of the whole monorepo instead of grepping call chains, for exploring, debugging, refactoring or reviewing code.
luoling8192/software-design-philosophy-skill
Software design philosophy guide based on John Ousterhout's "A Philosophy of Software Design." Use this skill during: code reviews, architecture discussions, API design, module decomposition…
magnus919/agent-skills
Organize durable agent research outputs as summaries, analysis, and evidence dossiers.
magnus919/agent-skills
Build portable, first-person colored ASCII city engines and small GIS-derived city packs.
magnus919/agent-skills
Manage color workflows with ICC profiles, working spaces, gamut mapping, and color science.
magnus919/agent-skills
A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…
magnus919/agent-skills
Use Docker Compose to define, run, debug, and harden multi-container applications.
magnus919/agent-skills
Design, review, simulate, and verify FPGA logic using explicit RTL contracts, clock and reset models, CDC analysis, timing constraints, and reproducible implementation evidence.
Categories
Apply distilled coding principles from 14 classic software books to code review, refactoring, design, and implementation decisions. Programming Principles is an agent skill from magnus919/agent-skills. Apply distilled coding principles from 14 classic software books to code review, refactoring, design, and implementation decisions.
Programming Principles fits situations like: framework-specific tutorials; tasks already governed by a projects established conventions.
Run `npx skills add magnus919/agent-skills --skill programming-principles -a claude-code`. Or copy the skill folder (programming-principles in magnus919/agent-skills) into .claude/skills/programming-principles in your project. Claude Code loads it when a task matches its description.
Run `npx skills add magnus919/agent-skills --skill programming-principles -a codex`. Or copy the skill folder (programming-principles in magnus919/agent-skills) into .agents/skills/programming-principles in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add magnus919/agent-skills --skill programming-principles -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/programming-principles, .gemini/skills/programming-principles, .github/skills/programming-principles and .opencode/skills/programming-principles in your project.
SKILL.md names no scripts, command-line tools or credentials: Programming Principles is instructions for the agent only. Compatibility (from SKILL.md): Platform-agnostic. Works with any agent that supports the Agent Skills directory format. No external dependencies..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Programming Principles is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.7k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 85k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Programming Principles: Dignified Python Standards (docling-project/docling, 68k stars), Clean Code Guard (amElnagdy/guard-skills, 1.3k stars), Maintainable Code for iPolloWork (Devin-AXIS/iPolloWork, 6.7k stars) and Cyclomatic Complexity (saurabhkumar8112/cyclomatic-complexity-skill, 405 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
magnus919 (a GitHub user) maintains it in magnus919/agent-skills, which has 111 GitHub stars. The repository holds 129 skills in this directory. The repository was last updated on October 6, 2026.
Source: magnus919/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.