Agent skill

Code Patterns

by Aedelon in Aedelon/claude-code-blueprint

Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components.

Custom licenceAuto-check passedDevOps & Cloud

Install Code Patterns

skills CLI
$ npx skills add Aedelon/claude-code-blueprint --skill code-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Aedelon/claude-code-blueprint code-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Aedelon/claude-code-blueprint.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-patterns .claude/skills/code-patterns && rm -rf skills-src

Use ~/.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/

Facts

Skill name
code-patterns
GitHub stars
120
Token cost
~1.2k tokens
SKILL.md length
184 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Custom licence

At a glance

Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components.

  • Asks about: API design
  • SKILL.md covers Quick Reference, Reference Files, API Design Quick Reference and Testing Quick Reference, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Database schema

What it does

Code Patterns is an agent skill from Aedelon/claude-code-blueprint. Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components. MUST BE USED when user asks about: "API design", "how to test", "Dockerfile", "CI/CD pipeline", "database schema", "TypeScript types", "async/await", "React hooks", "Next.js", "FastAPI", "testing pattern", "mock", "fixture", "docker compose", "github actions", "workflow yaml", "postgres query", "SQL pattern", "migration", "generic…

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Containers, CI/CD and Unit testing. It works with Docker, React, PostgreSQL and GitHub Actions. The repository describes itself as: Production-grade Claude Code configuration: skills, agents, hooks, rules, and permissions working as a system.

When your agent uses it

  • Asks about: API design
  • Database schema
  • TypeScript types
  • Testing pattern

Example prompts

  • “API design”
  • “how to test”
  • “Dockerfile”
  • “/code-patterns”

Requirements

  • Python 3
  • Docker
  • Pre-approved tools (allowed-tools): mcp__context7__resolve-library-id, mcp__context7__get-library-docs, Read

What it can do on your machine

Read from SKILL.md and the folder at commit 3bb5099. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • mcp__context7__resolve-library-id
    • mcp__context7__get-library-docs
    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript, python, yaml and dockerfile).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Patterns loads about 1.2k tokens when it runs. Until then it costs about 205 tokens; SKILL.md has 184 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~205
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 184 words (~1,238 tokens).

“This skill contains comprehensive patterns for modern development. Reference files are organized by topic.”

— opening of SKILL.md by Aedelon, Custom licence
name
code-patterns
allowed-tools
mcp__context7__resolve-library-id, mcp__context7__get-library-docs, Read

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/code-patterns of Aedelon/claude-code-blueprint.

Open the folder on GitHubat commit 3bb5099

Compare with similar skills

Code Patterns 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.

Code Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Patterns this skillAedelon/claude-code-blueprint120—~1.2kAutomated safety check: PassCustom licence
DDNS Build and Release MaintenanceNewFuture/DDNS4.7k—~444Automated safety check: PassMIT
Devops Deploysickn33/agentic-awesome-skills47k2 repos~1.9kAutomated safety check: PassMIT
Uvharperreed/dotfiles334—~1.1kAutomated safety check: PassNone
Update Depsstella/stella258—~2.7kAutomated safety check: PassApache-2.0
Simple Modern Uvjlevy/simple-modern-uv301—~1.9kAutomated safety check: PassMIT

Similar skills

  • Maintains the DDNS project's GitHub Actions, Docker and Nuitka builds, packaging and release preparation without touching publishing credentials.

    4.7k GitHub stars~444 tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Devops Deploy

    sickn33/agentic-awesome-skills

    DevOps e deploy de aplicacoes — Docker, CI/CD com GitHub Actions, AWS Lambda, SAM, Terraform, infraestrutura como codigo e monitoramento.

    47k GitHub starsUsed in 2 repos~1.9k tokens
    DevOps & CloudAuto-check passed
  • Uv

    harperreed/dotfiles

    uv workflows for Python — dependencies, virtualenvs, PEP 723 scripts, Python version management, CI, and Docker.

    334 GitHub stars~1.1k tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Update Deps

    stella/stella

    Inventory, assess, update, and validate third-party dependencies across Bun, Python/uv, Cargo, Docker, and GitHub Actions without hiding ecosystem or supply-chain risk.

    258 GitHub stars~2.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Simple Modern Uv

    jlevy/simple-modern-uv

    Start, selectively modernize, fully migrate, or update Python projects using simple-modern-uv practices: uv, ruff, BasedPyright, pytest, GitHub Actions CI, and tag-driven PyPI publishing.

    301 GitHub stars~1.9k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Flowfile Debugging Playbook

    Edwardvaneechoud/Flowfile

    Symptom-to-cause triage playbook for Flowfile (core/worker/kernel/frontend/AI) — covers "no such table" DB cascades (two distinct causes), import-time Alembic migration corruption, silent…

    370 GitHub stars~6.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from Aedelon/claude-code-blueprint

All 8 skills in this repo
  • Anti Hallucination

    Aedelon/claude-code-blueprint

    CRITICAL SAFETY SKILL — Verify ALL technical claims, API signatures, library methods, code behavior, and factual statements before answering.

    120 GitHub stars~1.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Brainstorm

    Aedelon/claude-code-blueprint

    Multi-agent brainstorming and strategic thinking on any complex topic.

    120 GitHub stars~1.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Commit Message

    Aedelon/claude-code-blueprint

    Ship workflow: review changes, generate conventional commit messages, push, and create PRs.

    120 GitHub stars~1.4k tokensUpdated 7 mo ago
    Auto-check: notes
  • Core Protocols

    Aedelon/claude-code-blueprint

    Debug errors systematically by searching first, then analyzing, then proposing verified solutions.

    120 GitHub stars~997 tokensUpdated 7 mo ago
    Auto-check passed
  • Research Protocol

    Aedelon/claude-code-blueprint

    Conduct rigorous research with proper citations (DOI, arXiv, PMID) and source triangulation.

    120 GitHub stars~1.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Security Audit

    Aedelon/claude-code-blueprint

    Proactive security audit: OWASP top 10, dependency vulnerabilities, secrets detection, input validation, auth patterns, and secure defaults.

    120 GitHub stars~1.6k tokensUpdated 7 mo ago
    Auto-check: notes

Questions about Code Patterns

What does Code Patterns do?

Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components. Code Patterns is an agent skill from Aedelon/claude-code-blueprint. Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components.

When should I use Code Patterns?

Code Patterns fits situations like: asks about: API design; database schema; typeScript types; testing pattern.

How do I install Code Patterns in Claude Code?

Run `npx skills add Aedelon/claude-code-blueprint --skill code-patterns -a claude-code`. Or copy the skill folder (skills/code-patterns in Aedelon/claude-code-blueprint) into .claude/skills/code-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Code Patterns in Codex?

Run `npx skills add Aedelon/claude-code-blueprint --skill code-patterns -a codex`. Or copy the skill folder (skills/code-patterns in Aedelon/claude-code-blueprint) into .agents/skills/code-patterns in your project. Codex loads it when a task matches its description.

Can I use Code Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Aedelon/claude-code-blueprint --skill code-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-patterns, .gemini/skills/code-patterns, .github/skills/code-patterns and .opencode/skills/code-patterns in your project.

What does Code Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Patterns is instructions for the agent only. Our summary lists: Python 3; Docker. Its frontmatter pre-approves these tools: mcp__context7__resolve-library-id, mcp__context7__get-library-docs, Read.

Does Code Patterns access the network?

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.

Is Code Patterns safe to install?

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.

What licence does Code Patterns use?

Code Patterns has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Code Patterns use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Patterns?

Skills that share tags, products or a category with Code Patterns: DDNS Build and Release Maintenance (NewFuture/DDNS, 4.7k stars), Devops Deploy (sickn33/agentic-awesome-skills, 47k stars), Uv (harperreed/dotfiles, 334 stars) and Update Deps (stella/stella, 258 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Patterns?

Aedelon (a GitHub user) maintains it in Aedelon/claude-code-blueprint, which has 120 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on March 4, 2026.

Source: Aedelon/claude-code-blueprint on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.