Python Anti Patterns
wshobson/agents
A skill your agent uses when reviewing Python code for common anti-patterns to avoid.
Guides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices.
$ npx skills add curiositech/some_claude_skills --skill skill-coach -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install curiositech/some_claude_skills skill-coach --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/curiositech/some_claude_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after .claude/skills/skill-coach && 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 "skill-coach" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after into .claude/skills/skill-coach/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-coach", 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/curiositech/some_claude_skills/tree/main/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/afterType 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 curiositech/some_claude_skills --skill skill-coach -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install curiositech/some_claude_skills skill-coach --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after .agents/skills/skill-coach && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "skill-coach" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after into .agents/skills/skill-coach/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-coach", 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 curiositech/some_claude_skills --skill skill-coach -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install curiositech/some_claude_skills skill-coach --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after .cursor/skills/skill-coach && 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 "skill-coach" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after into .cursor/skills/skill-coach/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-coach", 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/curiositech/some_claude_skills.git --path website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after--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 curiositech/some_claude_skills --skill skill-coach -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install curiositech/some_claude_skills skill-coach --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after .gemini/skills/skill-coach && 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 "skill-coach" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after into .gemini/skills/skill-coach/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-coach", 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 curiositech/some_claude_skills skill-coachInstalls 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 curiositech/some_claude_skills --skill skill-coach -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after .github/skills/skill-coach && 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 "skill-coach" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after into .github/skills/skill-coach/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-coach", 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 curiositech/some_claude_skills --skill skill-coach -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install curiositech/some_claude_skills skill-coach --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after .opencode/skills/skill-coach && 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 "skill-coach" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after into .opencode/skills/skill-coach/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-coach", 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.
skill-coachGuides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices.
Skill Coach is an agent skill from curiositech/some_claude_skills. Guides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices. Use when creating skills, reviewing existing skills, or when users mention improving skill quality, encoding expertise, or avoiding common AI tooling mistakes. Activate on keywords: create skill, review skill, skill quality, skill best practices, skill anti-patterns. NOT for general coding advice or non-skill Claude Code features.
Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `OVERVIEW.md` and `README.md`).
The repository describes itself as: Claude skills that make my life easier. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6713fc7. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteBashGlobGrepEditFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml, markdown and bash).
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.
Skill Coach loads about 3.9k tokens when it runs. Until then it costs about 120 tokens; SKILL.md has 1,593 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, Bash, Glob, Grep, EditAutomated 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 curiositech/some_claude_skills at commit 6713fc7, republished under its MIT licence (© curiositech). 1,593 words, ~3,882 tokens.
.claude/skills/skill-coach/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.This skill helps you create Agent Skills that encode real domain expertise, not just surface-level instructions. It focuses on the shibboleths - the deep knowledge that separates novices from experts.
✅ Use for:
❌ NOT for:
Great skills are progressive disclosure machines that:
Immediate improvements for existing skills:
wc -l) → Should be <500Creating a New Skill:
Skills load in three phases:
Critical: Keep SKILL.md under 500 lines. Split details into /references.
The description is your activation trigger. Formula: [What] [Use for] [Keywords] NOT for [Exclusions]
Progression from Bad → Good:
❌ Bad: description: Helps with images
⚠️ Better: description: Image processing with CLIP
✅ Good: description: CLIP semantic search. Use for image-text matching, zero-shot classification. Activate on "CLIP", "embeddings", "image search". NOT for counting, fine-grained classification, spatial reasoning.
Great skills actively warn about common mistakes. Structure:
## Common Anti-Patterns
### Pattern: [Name]
**What it looks like**: [Code example or description]
**Why it's wrong**: [Fundamental reason]
**What to do instead**: [Better approach]
**How to detect**: [Validation rule]Technology evolves. Capture what changed and when:
## Evolution Timeline
### Pre-2024: Old Approach
[What people used to do]
### 2024-Present: Current Best Practice
[What changed and why]
### Watch For
[Deprecated patterns LLMs might still suggest]Mandatory:
your-skill/
└── SKILL.md # Core instructions (<500 lines)Optional (only if needed):
├── scripts/ # Working code (not templates)
├── references/ # Deep dives (referenced from SKILL.md)
├── assets/ # Config files, templates
└── examples/ # Concrete good/bad examplesAnti-pattern: Creating structure "just in case" - only add files that SKILL.md references
---
name: your-skill-name
description: [What] [When] [Triggers]. NOT for [Exclusions].
allowed-tools: Read,Write # Minimal only
---
# Skill Name
[One sentence purpose]
## When to Use
✅ Use for: [A, B, C]
❌ NOT for: [D, E, F]
## Core Instructions
[Step-by-step, decision trees, not templates]
## Common Anti-Patterns
### [Pattern]
**Symptom**: [Recognition]
**Problem**: [Why wrong]
**Solution**: [Better approach]What it looks like: Skill references scripts/files that don't exist
# Quick Start
Run `python scripts/validate.py` to check your skillBut /scripts/validate.py doesn't exist in the skill directory.
Why it's wrong: Claude will try to use non-existent files, causing errors and confusion.
What to do instead: Only reference files that actually exist. If you want to suggest scripts, either:
How to detect: find skill-dir/ -type f and verify all referenced paths exist
What it looks like:
description: Helps with many things including X, Y, Z, and also A, B, C, plus general assistanceWhy it's wrong: Vague descriptions cause:
What to do instead: Specific trigger keywords + clear exclusions
description: [Core capability]. Use for [A, B, C]. Activate on keywords: "X", "Y", "Z". NOT for [D, E, F].What it looks like: Skill is 90% templates and examples, 10% actual instructions
Why it's wrong: Claude doesn't need templates - it needs expert knowledge and decision trees. Templates are for humans.
What to do instead:
What it looks like: One skill trying to handle an entire domain
name: web-dev-expert
description: Handles all web development tasksWhy it's wrong:
What to do instead: Create focused, composable skills:
react-performance-expertapi-design-expertcss-layout-expertWhat it looks like: Skill has /references/deep_dive.md but never tells Claude when to read it
Why it's wrong: Files exist but are never used = wasted space
What to do instead: Explicit triggers in main SKILL.md:
For database-specific anti-patterns, see `/references/database_antipatterns.md`allowed-tools constraintsShibboleths = deep knowledge that separates novices from experts.
Novice skill creator:
Expert skill creator:
CLIP Embeddings:
MCPs vs Scripts:
Plan-Validate-Execute Pattern:
Pre-Flight Checks (include in skills that modify state):
Good Skill - Specific, expert knowledge, clear boundaries:
name: clip-aware-embeddings
description: CLIP semantic search. Use for image-text matching, zero-shot classification. Activate on "CLIP", "embeddings", "image search". NOT for counting, fine-grained classification, spatial reasoning.
✅ Includes: When NOT to use, alternatives (DETR/PC-CLIP), temporal evolution, anti-patternsBad Skill - Vague, template-heavy, no expertise:
name: image-processing
description: Processes images
❌ Problems: No activation triggers, no exclusions, no expert knowledge, just generic templatesallowed-tools to constrain scopeWorkflow 1: Create Skill from Expertise
Workflow 2: Debug Activation Issues
Workflow 3: Reduce False Activations
Improvement Loop (use Claude to improve skills):
# 1. Use the skill on real tasks
# 2. Ask: "What anti-patterns did you encounter?"
# 3. Ask: "What decision points were unclear?"
# 4. Update SKILL.md with learnings
# 5. Test: Does it activate correctly now?Red Flags:
This skill uses: Read,Write,Bash,Glob,Grep,Edit
find, wc -l)Guidelines:
Read,Grep,GlobRead,Write,EditRead,Write,Bash(npm:*,git:*)Bash for untrusted skillsSecurity Audit:
CRITICAL (must-have):
find skill-dir/ -type f)HIGH PRIORITY (should-have):
allowed-tools is minimalNICE TO HAVE (polish):
Ask Claude questions that SHOULD trigger the skill:
# Example for a React skill:
"Help me optimize this React component's re-renders"
# Check: Did the skill activate?Ask questions that SHOULD NOT trigger the skill:
# Example for a React skill:
"Help me write a Python script"
# Check: Did it correctly NOT activate?When to create a NEW skill?
Skill vs Subagent vs MCP?
Q: SKILL.md vs /references? SKILL.md: Core instructions (<500 lines). /references: Deep dives (loaded as needed).
Q: How do I handle deprecated patterns?
## ⚠️ Deprecated: [Pattern]
**Until**: [Date] | **Why**: [Reason] | **Now use**: [Current]
**Watch**: LLMs may suggest this due to training dataThis skill guides: Skill creation | Skill auditing | Anti-pattern detection | Progressive disclosure | Domain expertise encoding
Meta-note: This skill practices what it preaches - it has been iteratively improved using its own guidance, demonstrating the iteration loop it recommends.
© curiositech, 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 2 other files in website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after of curiositech/some_claude_skills.
Open the folder on GitHubat commit 6713fc7
Skill Coach 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 |
|---|---|---|---|---|---|---|
| Skill Coach this skillcuriositech/some_claude_skills | 243 | — | ~3.9k | Automated safety check: Notes | MIT | |
| Python Anti Patternswshobson/agents | 40k | — | ~2k | Automated safety check: Pass | MIT | |
| Architecture Patternswshobson/agents | 40k | — | ~2k | Automated safety check: Pass | MIT | |
| Golang Patternsaffaan-m/ECC | 276k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Architecture Patternsdavila7/claude-code-templates | 32k | 4 repos | ~483 | Automated safety check: Pass | MIT | |
| Kotlin Exposed Patternsaffaan-m/ECC | 276k | 4 repos | ~5.5k | Automated safety check: Pass | MIT |
wshobson/agents
A skill your agent uses when reviewing Python code for common anti-patterns to avoid.
wshobson/agents
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
affaan-m/ECC
Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization.
davila7/claude-code-templates
Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.
affaan-m/ECC
JetBrains Exposed ORM patterns including DSL queries, DAO pattern, transactions, HikariCP connection pooling, Flyway migrations, and repository pattern.
affaan-m/ECC
Idiomatic C and .NET patterns, conventions, dependency injection, async/await, and best practices for building robust, maintainable .NET applications.
curiositech/some_claude_skills
Detect crisis signals in user content using NLP, mental health sentiment analysis, and safe intervention protocols.
curiositech/some_claude_skills
End-to-end form handling with react-hook-form, Zod schemas, validation patterns, error messaging, field arrays, and multi-step wizards.
curiositech/some_claude_skills
Build production CI/CD pipelines with GitHub Actions. An agent skill from curiositech/some_claude_skills.
curiositech/some_claude_skills
Expert in background job processing with Bull/BullMQ (Redis), Celery, and cloud queues.
curiositech/some_claude_skills
Strategic analyst that maps competitive landscapes, identifies white space opportunities, and provides positioning recommendations.
curiositech/some_claude_skills
Build production computer vision pipelines for object detection, tracking, and video analysis.
Guides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices. Skill Coach is an agent skill from curiositech/some_claude_skills. Guides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices.
Skill Coach fits situations like: creating skills; reviewing existing skills; users mention improving skill quality; encoding expertise.
Run `npx skills add curiositech/some_claude_skills --skill skill-coach -a claude-code`. Or copy the skill folder (website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after in curiositech/some_claude_skills) into .claude/skills/skill-coach in your project. Claude Code loads it when a task matches its description.
Run `npx skills add curiositech/some_claude_skills --skill skill-coach -a codex`. Or copy the skill folder (website/src/data/artifacts/single-skill/skill-coach/001-self-improvement/after in curiositech/some_claude_skills) into .agents/skills/skill-coach 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 curiositech/some_claude_skills --skill skill-coach -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-coach, .gemini/skills/skill-coach, .github/skills/skill-coach and .opencode/skills/skill-coach in your project.
SKILL.md names no scripts, command-line tools or credentials: Skill Coach is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Bash, Glob, Grep, Edit.
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 notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Skill Coach is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Skill Coach: Python Anti Patterns (wshobson/agents, 40k stars), Architecture Patterns (wshobson/agents, 40k stars), Golang Patterns (affaan-m/ECC, 276k stars) and Architecture Patterns (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
curiositech (a GitHub organization) maintains it in curiositech/some_claude_skills, which has 243 GitHub stars. The repository holds 95 skills in this directory. The repository was last updated on September 6, 2026.
Source: curiositech/some_claude_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.