Agent skill

Xp Copilot

by fike in fike/fastapi-blog

Skill for Extreme Programming (XP) practices and Test-Driven Development (TDD).

MITAuto-check passedTesting & QA

Install Xp Copilot

skills CLI
$ npx skills add fike/fastapi-blog --skill xp-copilot -a claude-code

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

GitHub CLI
$ gh skill install fike/fastapi-blog xp-copilot --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/fike/fastapi-blog.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills-packages/xp-copilot .claude/skills/xp-copilot && 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
xp-copilot
GitHub stars
101
Token cost
~286 tokens
SKILL.md length
111 words
Files
3 (incl. scripts, references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Skill for Extreme Programming (XP) practices and Test-Driven Development (TDD).

  • Works in 3 steps: Red: Create a failing test in… → Green: Write the minimum code in… → Refactor: Clean up the code while…
  • Starting new features
  • SKILL.md covers Overview, TDD Workflow…, Rules of Engagement and Reference Materials, plus 1 more section
  • Runs Shell scripts from its folder

What it does

Xp Copilot is an agent skill from fike/fastapi-blog. Skill for Extreme Programming (XP) practices and Test-Driven Development (TDD). Use when starting new features or fixing bugs to ensure a "Red-Green-Refactor" cycle.

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/xp-tdd-guide.md` and `scripts/run_test.sh`).

It sits in Testing & QA, covering Test-driven development. It works with Docker, pytest, OpenTelemetry and FastAPI. The repository describes itself as: A FastAPI backend for blog with OpenTelemtry and Jaeger. The licence is MIT.

When your agent uses it

  • Starting new features
  • Fixing bugs to ensure a Red-Green-Refactor cycle

Example prompts

  • “Red-Green-Refactor”
  • “/xp-copilot”

Requirements

  • A Bash shell
  • Docker

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Red: Create a failing test in backend/tests/. Run it using scripts/run_test.sh.
  2. Green: Write the minimum code in backend/app/ to pass the test.
  3. Refactor: Clean up the code while keeping the tests green.

What it can do on your machine

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

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    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

Xp Copilot loads about 286 tokens when it runs, and up to ~583 if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 111 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~286
With references · SKILL.md plus every file in references/, read only if the agent opens them
~583

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); the scripts in this folder are not scanned.

SKILL.md

The full file from fike/fastapi-blog at commit f8be702, republished under its MIT licence (© fike). 111 words, ~286 tokens.

Download SKILL.mdSave it as .claude/skills/xp-copilot/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
xp-copilot
description
Skill for Extreme Programming (XP) practices and Test-Driven Development (TDD). Use when starting new features or fixing bugs to ensure a "Red-Green-Refactor" cycle.

XP Copilot

Overview

This skill guides the agent through the Extreme Programming workflow, prioritizing TDD, simple design, and continuous feedback.

TDD Workflow (Red-Green-Refactor)

  1. Red: Create a failing test in backend/tests/. Run it using scripts/run_test.sh.
  2. Green: Write the minimum code in backend/app/ to pass the test.
  3. Refactor: Clean up the code while keeping the tests green.

Rules of Engagement

  • Test First: Production code modification is forbidden without a corresponding test case.
  • Small Iterations: Deliver small, functional increments.
  • Continuous Validation: Use scripts/run_test.sh after every change.

Reference Materials

  • XP & TDD Guide: Detailed breakdown of the TDD phases and pair programming mindset.

Resources

  • scripts/run_test.sh: Executes pytest inside the project's Docker test environment.

© fike, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, references) in .agents/skills-packages/xp-copilot of fike/fastapi-blog.

  • SKILL.md
  • references/xp-tdd-guide.md
  • scripts/run_test.sh

Open the folder on GitHubat commit f8be702

Compare with similar skills

Xp Copilot 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.

Xp Copilot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xp Copilot this skillfike/fastapi-blog101—~286Automated safety check: PassMIT
Pre Pushartcc/freelingo158—~732Automated safety check: PassAGPL-3.0
Code PatternsAedelon/claude-code-blueprint120—~1.2kAutomated safety check: PassCustom licence
Flowfile Debugging PlaybookEdwardvaneechoud/Flowfile370—~6.3kAutomated safety check: PassMIT
Code Review Securitynicepkg/auto-company1921 repos~3.9kAutomated safety check: PassMIT
Docker Containerizationailabs-393/ai-labs-claude-skills454—~2.1kAutomated safety check: NotesMIT

Similar skills

  • Pre Push

    artcc/freelingo

    A skill your agent uses when the user asks to check before pushing, pre-push, verificar antes de pushear, run all checks, or quiere validar que todo pasa antes de hacer push.

    158 GitHub stars~732 tokensUpdated today
    EducationAuto-check passed
  • Code Patterns

    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.

    120 GitHub stars~1.2k tokensUpdated 7 mo ago
    DevOps & CloudAuto-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
  • Code Review Security

    nicepkg/auto-company

    Security-focused code review checklist and automated scanning patterns.

    192 GitHub starsUsed in 1 repo~3.9k tokens
    SecurityAuto-check passed
  • Docker Containerization

    ailabs-393/ai-labs-claude-skills

    This skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various platforms.

    454 GitHub stars~2.1k tokensUpdated 11 mo ago
    DevOps & CloudAuto-check: notes
  • Code to PRD

    alirezarezvani/claude-skills

    Reverse-engineers a frontend, backend or fullstack codebase into a product requirements document with per-page docs, an enum dictionary and an API inventory.

    28k GitHub starsUsed in 1 repo~4.9k tokens
    Product & Project ManagementAuto-check passed

More from fike/fastapi-blog

  • Clean Code Refactorer

    fike/fastapi-blog

    Skill for identifying code smells and refactoring code using Clean Code, SOLID, and DRY principles.

    101 GitHub stars~402 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Xp Copilot

What does Xp Copilot do?

Skill for Extreme Programming (XP) practices and Test-Driven Development (TDD). Xp Copilot is an agent skill from fike/fastapi-blog. Skill for Extreme Programming (XP) practices and Test-Driven Development (TDD).

When should I use Xp Copilot?

Xp Copilot fits situations like: starting new features; fixing bugs to ensure a Red-Green-Refactor cycle.

How do I install Xp Copilot in Claude Code?

Run `npx skills add fike/fastapi-blog --skill xp-copilot -a claude-code`. Or copy the skill folder (.agents/skills-packages/xp-copilot in fike/fastapi-blog) into .claude/skills/xp-copilot in your project. Claude Code loads it when a task matches its description.

How do I install Xp Copilot in Codex?

Run `npx skills add fike/fastapi-blog --skill xp-copilot -a codex`. Or copy the skill folder (.agents/skills-packages/xp-copilot in fike/fastapi-blog) into .agents/skills/xp-copilot in your project. Codex loads it when a task matches its description.

Can I use Xp Copilot 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 fike/fastapi-blog --skill xp-copilot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xp-copilot, .gemini/skills/xp-copilot, .github/skills/xp-copilot and .opencode/skills/xp-copilot in your project.

What does Xp Copilot need to run?

Going by SKILL.md and its folder, Xp Copilot needs a shell for the scripts in its folder. Our summary lists: A Bash shell; Docker.

Does Xp Copilot 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 Xp Copilot 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Xp Copilot use?

Xp Copilot is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xp Copilot use?

About 286 tokens (SKILL.md is roughly 1.1k 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 297 tokens, read only when the agent opens those files.

What are the alternatives to Xp Copilot?

Skills that share tags, products or a category with Xp Copilot: Pre Push (artcc/freelingo, 158 stars), Code Patterns (Aedelon/claude-code-blueprint, 120 stars), Flowfile Debugging Playbook (Edwardvaneechoud/Flowfile, 370 stars) and Code Review Security (nicepkg/auto-company, 192 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xp Copilot?

fike (a GitHub user) maintains it in fike/fastapi-blog, which has 101 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 5, 2026.

Source: fike/fastapi-blog on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.