Python Dev
doccker/cc-use-exp
Python 开发规范。当用户操作 .py、pyproject.toml、requirements.txt、setup.py 文件, 或涉及 FastAPI、Django、Flask、pytest、asyncio 开发时触发。
A skill your agent uses when adding or changing FastAPI routes, dependencies, or tests in this Python service — keep endpoints typed, validated, and covered by pytest.
$ npx skills add johnku2011/boilerplates-with-ai-skills --skill python-api-design -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install johnku2011/boilerplates-with-ai-skills python-api-design --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/johnku2011/boilerplates-with-ai-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/boilerplates/python-service/skills/python-api-design .claude/skills/python-api-design && 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 "python-api-design" agent skill from https://github.com/johnku2011/boilerplates-with-ai-skills/tree/main/boilerplates/python-service/skills/python-api-design into .claude/skills/python-api-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-api-design", 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/johnku2011/boilerplates-with-ai-skills/tree/main/boilerplates/python-service/skills/python-api-designType 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 johnku2011/boilerplates-with-ai-skills --skill python-api-design -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install johnku2011/boilerplates-with-ai-skills python-api-design --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/johnku2011/boilerplates-with-ai-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/boilerplates/python-service/skills/python-api-design .agents/skills/python-api-design && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "python-api-design" agent skill from https://github.com/johnku2011/boilerplates-with-ai-skills/tree/main/boilerplates/python-service/skills/python-api-design into .agents/skills/python-api-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-api-design", 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 johnku2011/boilerplates-with-ai-skills --skill python-api-design -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install johnku2011/boilerplates-with-ai-skills python-api-design --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/johnku2011/boilerplates-with-ai-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/boilerplates/python-service/skills/python-api-design .cursor/skills/python-api-design && 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 "python-api-design" agent skill from https://github.com/johnku2011/boilerplates-with-ai-skills/tree/main/boilerplates/python-service/skills/python-api-design into .cursor/skills/python-api-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-api-design", 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/johnku2011/boilerplates-with-ai-skills.git --path boilerplates/python-service/skills/python-api-design--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 johnku2011/boilerplates-with-ai-skills --skill python-api-design -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install johnku2011/boilerplates-with-ai-skills python-api-design --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/johnku2011/boilerplates-with-ai-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/boilerplates/python-service/skills/python-api-design .gemini/skills/python-api-design && 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 "python-api-design" agent skill from https://github.com/johnku2011/boilerplates-with-ai-skills/tree/main/boilerplates/python-service/skills/python-api-design into .gemini/skills/python-api-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-api-design", 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 johnku2011/boilerplates-with-ai-skills python-api-designInstalls 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 johnku2011/boilerplates-with-ai-skills --skill python-api-design -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/johnku2011/boilerplates-with-ai-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/boilerplates/python-service/skills/python-api-design .github/skills/python-api-design && 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 "python-api-design" agent skill from https://github.com/johnku2011/boilerplates-with-ai-skills/tree/main/boilerplates/python-service/skills/python-api-design into .github/skills/python-api-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-api-design", 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 johnku2011/boilerplates-with-ai-skills --skill python-api-design -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install johnku2011/boilerplates-with-ai-skills python-api-design --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/johnku2011/boilerplates-with-ai-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/boilerplates/python-service/skills/python-api-design .opencode/skills/python-api-design && 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 "python-api-design" agent skill from https://github.com/johnku2011/boilerplates-with-ai-skills/tree/main/boilerplates/python-service/skills/python-api-design into .opencode/skills/python-api-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-api-design", 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.
python-api-designA skill your agent uses when adding or changing FastAPI routes, dependencies, or tests in this Python service — keep endpoints typed, validated, and covered by pytest.
Python API Design is an agent skill from johnku2011/boilerplates-with-ai-skills. Use when adding or changing FastAPI routes, dependencies, or tests in this Python service — keep endpoints typed, validated, and covered by pytest.
Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: FastAPI + pytest service in this boilerplate
It sits in Backend & APIs, covering API design, Backend development and Unit testing. It works with Python, FastAPI and pytest. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 475dc6a. 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:
ReadFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
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.
FastAPI + pytest service in this boilerplate
From compatibility in the SKILL.md frontmatter.
Python API Design loads about 449 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 166 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 johnku2011/boilerplates-with-ai-skills at commit 475dc6a, republished under its MIT licence (© johnku2011). 166 words, ~449 tokens.
.claude/skills/python-api-design/SKILL.md (or your agent's skills folder).Keep the FastAPI app small and testable. Build with create_app() so pytest can
use TestClient without starting a real server on a fixed port.
create_app() in app/main.py.HTTPException for client errors.pytest before claiming completion.app/main.py — create_app() factory and route definitionstests/ — pytest tests using fastapi.testclient.TestClientrequirements.txt — pinned runtime + test dependenciesfrom fastapi.testclient import TestClient
from app.main import create_app
def test_health():
client = TestClient(create_app())
assert client.get("/api/health").json() == {"status": "ok"}os.environ), never hardcoded.© johnku2011, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in boilerplates/python-service/skills/python-api-design of johnku2011/boilerplates-with-ai-skills.
Open the folder on GitHubat commit 475dc6a
Python API Design 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 |
|---|---|---|---|---|---|---|
| Python API Design this skilljohnku2011/boilerplates-with-ai-skills | 240 | — | ~449 | Automated safety check: Pass | MIT | |
| Python Devdoccker/cc-use-exp | 1.1k | — | ~790 | Automated safety check: Pass | Custom licence | |
| Pythonericrisco/rsc-harness | 156 | — | ~3.8k | Automated safety check: Pass | MIT | |
| Python Rulessoftspark/ai-toolkit | 179 | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| PythonMadAppGang/claude-code | 283 | — | ~2.8k | Automated safety check: Notes | MIT | |
| Mastering Python SkillSpillwaveSolutions/agent-brain | 120 | — | ~1.4k | Automated safety check: Notes | MIT |
doccker/cc-use-exp
Python 开发规范。当用户操作 .py、pyproject.toml、requirements.txt、setup.py 文件, 或涉及 FastAPI、Django、Flask、pytest、asyncio 开发时触发。
ericrisco/rsc-harness
A skill your agent uses when the task is Python itself, in any framework or none: PEP 695 generics, mypy --strict typing, dataclass/Protocol/TypedDict/Enum choices, asyncio.TaskGroup, stdlib idioms…
softspark/ai-toolkit
Python coding rules: style, patterns, security, testing. An agent skill from softspark/ai-toolkit.
MadAppGang/claude-code
A skill your agent uses when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.
SpillwaveSolutions/agent-brain
Modern Python coaching covering language foundations through advanced production patterns.
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…
johnku2011/boilerplates-with-ai-skills
A skill your agent uses when reviewing security-sensitive code paths — check auth, secrets, input validation, dependency risk, and data exposure before shipping.
johnku2011/boilerplates-with-ai-skills
A skill your agent uses when reviewing a diff or pull request — check correctness, tests, readability, security, and server/client boundaries before approving.
johnku2011/boilerplates-with-ai-skills
Use before scaffolding a bwai project — runs the full startup-goal workflow then recommends the right boilerplate and outputs the exact bwai new command to run.
johnku2011/boilerplates-with-ai-skills
A skill your agent uses when deploying or configuring this project on Vercel — env vars, build settings, serverless limits, and production checks for Next.js or Express.
johnku2011/boilerplates-with-ai-skills
A skill your agent uses when adding or changing routes, middleware, or error handling in this Express.js API, to keep endpoints consistent, validated, and testable.
johnku2011/boilerplates-with-ai-skills
A skill your agent uses when adding pages, layouts, route handlers, or data fetching in this Next.js App Router project, to follow server-first conventions correctly.
Categories
A skill your agent uses when adding or changing FastAPI routes, dependencies, or tests in this Python service — keep endpoints typed, validated, and covered by pytest. Python API Design is an agent skill from johnku2011/boilerplates-with-ai-skills. Use when adding or changing FastAPI routes, dependencies, or tests in this Python service — keep endpoints typed, validated, and covered by pytest.
Python API Design fits situations like: changing FastAPI routes; tests in this Python service — keep endpoints typed; covered by pytest.
Run `npx skills add johnku2011/boilerplates-with-ai-skills --skill python-api-design -a claude-code`. Or copy the skill folder (boilerplates/python-service/skills/python-api-design in johnku2011/boilerplates-with-ai-skills) into .claude/skills/python-api-design in your project. Claude Code loads it when a task matches its description.
Run `npx skills add johnku2011/boilerplates-with-ai-skills --skill python-api-design -a codex`. Or copy the skill folder (boilerplates/python-service/skills/python-api-design in johnku2011/boilerplates-with-ai-skills) into .agents/skills/python-api-design 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 johnku2011/boilerplates-with-ai-skills --skill python-api-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-api-design, .gemini/skills/python-api-design, .github/skills/python-api-design and .opencode/skills/python-api-design in your project.
SKILL.md names no scripts, command-line tools or credentials: Python API Design is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read. Compatibility (from SKILL.md): FastAPI + pytest service in this boilerplate.
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.
Python API Design is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 449 tokens (SKILL.md is roughly 1.8k 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 Python API Design: Python Dev (doccker/cc-use-exp, 1.1k stars), Python (ericrisco/rsc-harness, 156 stars), Python Rules (softspark/ai-toolkit, 179 stars) and Python (MadAppGang/claude-code, 283 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
johnku2011 (a GitHub user) maintains it in johnku2011/boilerplates-with-ai-skills, which has 240 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on August 24, 2026.
Source: johnku2011/boilerplates-with-ai-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.