pac-tdd
Guide pragmatic test-driven implementation through small vertical slices.
Skill by mypac
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ladislas-pac-tdd
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pac-tdd
What's inside
- Skill name
pac-tdd- Description
- Guide pragmatic test-driven implementation through small vertical slices. Use when implementing behavior-changing features or bug fixes, especially when tests, regression coverage, red-green-refactor, tracer bullets, or public-interface testing are relevant.
- License
- MIT
- Compatibility
- Pi coding agent
- Metadata
- stage: shared · author: mypac
- Instructions
- 69 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- deep-modules.md
- interface-design.md
- mocking.md
- refactoring.md
- tests.md
SKILL.md (first lines)
# Pragmatic TDD Use this skill for behavior-changing implementation: new features, bug fixes, and changes where regression coverage matters. Do not add ceremony for trivial edits, docs-only changes, wording-only prompt or skill edits, mechanical renames, config-only changes, exploratory spikes, or work already fully covered by existing checks. ## Core rule Work in small vertical slices: ```text RED: Add one focused test for one observable behavior and watch it fail. GREEN: Add the smallest implementation that makes that test pass. REFACTOR: Clean up only after tests are green, then run checks again. ``` Do not write all tests first and all implementation later. That horizontal slice usually tests imagined structure instead of learned behavior. ## Before coding - State the public behavior you are about to change. - Identify the public interface or command that should prove the behavior. - Pick the first tracer-bullet test: the smallest end-to-end path that exercises the real seam. - State any skipped-test rationale up front if TDD is not appropriate. For larger or ambiguous work, confirm the plan with the user before implementation. ## Test shape Wording-only instruction edits need no new tests by default. Static instruction-source checks must identify a machine-enforced invariant (such as loader metadata, reference validity, or argument interpolation) or an explicitly required template format, and be labeled as structural checks—not agent behavior. Claims that an agent follows instructions require agent execution/evaluation evidence; vocabulary matches cannot establish that behavior. Default to behavior-level tests through public interfaces. A good test should still pass after an internal refactor when behavior is unchanged. Use focused internal unit tests only when they are the simplest honest way to cover complex logic or a hard-to-reach legacy seam. If you do, name the reason. Load deeper notes when relevant: - [tests.md](tests.md) — choosing behavior-level tests and avoiding implementation-detail assertions - [mocking.md](mocking.md) — mocking only at real system boundaries - [refactoring.md](refactoring.md) — safe cleanup once tests are green - [deep-modules.md](deep-modules.md) — shaping testable modules with small interfaces and deep implementations - [interface-design.md](interface-design.md) — designing public seams that are easy to exercise ## Cycle checklist For each slice: - [ ] The test describes observable behavior, not implementation mechanics. - [ ] The test uses a public interface unless a tactical internal seam is justified. - [ ] The test fails for the expected reason before implementation when practical. - [ ] The implementation is the smallest useful change for this behavior. - [ ] All relevant tests pass before refactoring. - [ ] Any refactor stays inside the proven behavior. ## Bug-fix handoff from `pac-diagnose` Keep diagnosis separate. Use `pac-diagnose` to isolate the bug and find a reliable repro. Then use this skill to turn the repro into a failing regression test, implement the fix, and refactor only after the regression passes. ## Commit and report Commit meaningful completed green/refactor slices, not every tiny red-green step. When reporting back, include: - tests added or updated, - checks run, - behaviors covered, - skipped-test rationale when no tests were added, - the next slice if work remains incomplete.
From ladislas/mypac, MIT.
More from ladislas/mypac
- 0.603score
pac-diagnose
mypac
Run a disciplined diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-github
mypac
Handle non-trivial GitHub operations with `gh`, including advanced API queries, CI investigation, reviews, labels, comments, and state changes.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-handoff
mypac
Creates a concise handoff document for another Pi session or agent.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-explore
mypac
Explore ideas, problems, or design options without implementing.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-slidedeck
mypac
Design or refine coherent presentations and slide decks using the host's native artifact capability.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-to-issues
mypac
Break a plan, PRD, or discussion into independently-grabbable GitHub issues using tracer-bullet vertical slices.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-commit
mypac
Create or plan repository-compliant commits from existing changes and select commit or pull-request issue links.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-changelog
mypac
Update the repository CHANGELOG.md for notable changes and release prep.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-deep-read
mypac
Analyze substantial documents beyond summary by inferring implications, surfacing tensions, extracting a core takeaway, and identifying blind spots.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-github-issue-create
mypac
Create a GitHub issue in the current repository with gh.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-grill-with-docs
mypac
Grill issue-backed work against the codebase and project language, then persist durable outcomes to GitHub issue updates, ADR comments, PRD comments, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-improve-architecture
mypac
Review codebase architecture for deepening opportunities, then grill a candidate.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 3
- Last commit (this folder)
- Oct 16, 2026 (13 days ago)
- Last release
- Oct 15, 2026 (14 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ladislas/mypac
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mypac
- 0.603score
pac-diagnose
mypac
Run a disciplined diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-handoff
mypac
Creates a concise handoff document for another Pi session or agent.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-github
mypac
Handle non-trivial GitHub operations with `gh`, including advanced API queries, CI investigation, reviews, labels, comments, and state changes.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-explore
mypac
Explore ideas, problems, or design options without implementing.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-changelog
mypac
Update the repository CHANGELOG.md for notable changes and release prep.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pac-deep-read
mypac
Analyze substantial documents beyond summary by inferring implications, surfacing tensions, extracting a core takeaway, and identifying blind spots.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
pac-tdd skill. Agent Mart. https://agentmart.dev/skills/ladislas-pac-tdd (last updated 2026-10-24)