🐷
QualityHTML

Piglet

by PsiACE

Piglet is a Quality skill for Claude Code, published by PsiACE in skills.

170 stars7 forkson PsiACE/skillsAdded 2026/09/08Repository updated 2026/08/19
agentbest-practicesclaude-codecodexpythonrustskills
Install in seconds
Install Piglet
Copy Piglet into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/PsiACE/skills/tree/main/skills/piglet ~/.claude/skills/piglet

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/PsiACE/skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/piglet/SKILL.md in PsiACE/skills
Installs to
~/.claude/skills/piglet
Collection
One of 4 skills cataloged from this repository
Category
Quality1897 skills

What Piglet does

Piglet gives practical guidance for writing, refactoring, and reviewing Python code. Use it for naming, branching, data structures, exceptions, imports, file I/O, edge cases, and modern syntax choices.

Piglet is cataloged under Quality on DirSkills. Piglet comes from a repository tagged agent, best-practices, claude-code, codex and python.

Documentation

README

piglet

Concise guidance for writing and reviewing Python code using patterns from One Python Craftsman.

Purpose and Triggers

  • Use for Python (.py) code creation, refactoring, or code review.
  • Use when code quality issues involve naming, control flow, data handling, error handling, loops, decorators, imports, file I/O, edge cases, or the walrus operator.
  • Prefer clarity and maintainability. Optimize performance only when it is a real constraint.
  • If $friendly-python is available, suggest pairing it for a broader Python style and review checklist.

Decision Order

  1. Correctness and explicit behavior
  2. Readability and maintainability
  3. Extension cost and change isolation
  4. Performance and micro-optimizations

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Piglet

  • What else does PsiACE publish alongside Piglet?

    Piglet is one of 4 skills that DirSkills catalogs from PsiACE/skills, the repository it ships in. Its siblings there include Fast Rust, Friendly Python and Modular Go. Each one is a separate skill with its own page in this directory, installs the same way Piglet does, and is maintained by PsiACE in that same repository. The rest of the collection is listed on the PsiACE/skills page.

  • How does Piglet compare to other Quality skills?

    Piglet ranks #1759 by stars among the 1897 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Piglet against them. Open each page to compare what they document and how they install.