This repository contains a collection of agent skills for AI coding assistants. Skills are reusable instruction sets that extend your coding agent's capabilities, providing specialized workflows and best practices for software development.
Description: Guides Domain-Driven Design architecture across four layers (domain, application, infrastructure, presentation) organized by bounded context. Enforces dependency rules, tactical patterns, ubiquitous language, and aggregate rules. Supports greenfield and incremental legacy migration.
When to use: Use when building complex business applications with rich domain logic, migrating legacy systems, or establishing clean architecture patterns.
Description: Maintains a persistent project journal in MEMORY.md across sessions. Records state, architectural decisions, discoveries, task history, and open questions; reconciles with the project's planning documents; archives old entries automatically.
When to use: Use for any project to maintain continuity across sessions, track architectural decisions, and preserve project knowledge.
Description: Pair programming navigator mode. Toggles a state where the agent scaffolds structure and writes failing tests, but refuses to implement business logic β the user writes it.
When to use: Use when you want to actively participate in implementation while the agent provides guidance, scaffolding, and review.
Description: Enforces strict Test-Driven Development (Red-Green-Refactor) workflow for any language or framework.
When to use: Use whenever implementing new features, fixing bugs, or modifying behavior in code to ensure test coverage and maintainable code.
Description: Proactively guides and enforces code quality practices: eliminating magic numbers and strings, constructor-based dependency injection, and thorough documentation. Flags violations as they are noticed, plans safe incremental refactors.
When to use: Use for maintaining high code quality standards, refactoring legacy code, or establishing best practices in new projects.
Description: Governs how the agent writes files. Enforces chunked, sequential writes to prevent silent truncation from buffer/context limits.
When to use: Use for all file writing operations to ensure reliable, safe file creation and modification.
Description: Governs the agent's internal reasoning process and communication style. Enforces hypothesis-driven, test-first, iterate-fast problem solving. Eliminates silent internal loops, premature abstraction, and invisible approach changes.
When to use: Use for any non-trivial problem solving to ensure transparent, efficient reasoning and communication.
Description: Runs structured design interviews to reach shared understanding of plans, features, or systems. Walks design trees branch by branch, resolving decision dependencies, sharpening fuzzy language, and stress-testing with concrete scenarios. Inspired by Matt Pocock's grill-with-docs skill.
When to use: Use when designing new features, reviewing plans, or needing to clarify complex requirements before implementation.
First, install the Vercel Labs skills CLI globally:
npm install -g @vercel-labs/skills
# or
npx @vercel-labs/skillsnpx skills add cesumilo/skills# List available skills
npx skills add cesumilo/skills --list
# Install specific skills
npx skills add cesumilo/skills --skill ddd --skill tdd-workflow
# Install to specific agents (e.g., OpenCode)
npx skills add cesumilo/skills -a opencodenpx skills add cesumilo/skills --allThe skills CLI supports installation to various coding agents:
- OpenCode (
-a opencode) - Claude Code (
-a claude-code) - Cursor (
-a cursor) - GitHub Copilot (
-a github-copilot) - Codex (
-a codex) - And 40+ more agents
- Project scope (default): Installs to
./.agents/skills/within your project - Global scope (
-g): Installs to~/.config/opencode/skills/(OpenCode) or equivalent for other agents
When working on a domain-driven design project, the DDD skill will:
- Guide you through bounded context identification
- Enforce four-layer architecture (domain, application, infrastructure, presentation)
- Maintain ubiquitous language glossary
- Refuse architectural violations
- Integrate with TDD workflow and long-term memory
Activate pair mode with:
pair on
The agent will:
- Scaffold file structure and test frameworks
- Write failing tests (RED phase)
- Leave TODO comments for implementation
- Provide hints instead of solutions
- Review your implementation
Deactivate with:
pair off
The TDD skill automatically enforces:
- π΄ RED: Write failing test first
- π’ GREEN: Minimal implementation to pass
- π΅ REFACTOR: Clean up while keeping tests green
The code-quality skill continuously:
- π Scans for magic numbers and strings
- ποΈ Enforces constructor-based dependency injection
- π Ensures thorough documentation
- π Plans safe, incremental refactoring
β οΈ Flags violations as they're discovered
The file-writing skill ensures:
- π No more than 50 lines per write operation
- π Sequential chunked writes from beginning to end
- β Verification after each chunk
- π Clear communication about what was written and what remains
The problem-solving skill enforces:
- π§ One hypothesis at a time approach
- β‘ Maximum 2 internal iterations before asking for help
- π Decision format with risk assessment and test verification
- β Explicit questions when torn between approaches
- π Transparent approach changes instead of silent restarts
The design-interview skill provides:
- π One question at a time with recommended answers
- π³ Design tree walking to resolve decision dependencies
- π Sharpening fuzzy language into canonical terms
- π§ͺ Stress-testing with concrete scenarios
- π ADR creation only for hard-to-reverse, surprising, trade-off decisions
These skills are designed to work together:
- DDD + TDD: Domain layer tests are pure unit tests, application layer tests mock repositories
- DDD + Long-Term Memory: Records bounded contexts, architectural decisions, and discoveries
- Pair Mode + TDD: Agent writes tests, user implements to make them pass
- Code Quality + All skills: Enforces quality standards across all workflows
- File Writing + All skills: Ensures safe, reliable file operations across all workflows
- Problem Solving + All skills: Provides transparent reasoning and efficient decision-making
- Design Interview + TDD: Interview decisions become acceptance criteria for failing tests
- All skills: Comprehensive workflow covering architecture, testing, quality, reasoning, memory, design, and collaboration
# List installed skills
npx skills list
# Update skills to latest version
npx skills update
# Remove skills
npx skills remove ddd
# Find more skills
npx skills findYou can create your own skills by following the Agent Skills specification:
- Create a directory with a
SKILL.mdfile - Add YAML frontmatter with
nameanddescription - Write detailed instructions for the agent
- Install with:
npx skills add ./your-skill-directory
Example SKILL.md structure:
---
name: your-skill-name
description: What this skill does and when to use it
---
# Your Skill Name
Detailed instructions for the agent...
## When to Use
Describe scenarios where this skill should be activated.- Vercel Labs Skills Repository
- Agent Skills Specification
- Skills Directory
- OpenCode Skills Documentation
Skills in this repository:
ddd/- Domain-Driven Design architecturelong-term-memory/- Project memory managementpair-mode/- Pair programming workflowtdd-workflow/- Test-Driven Developmentcode-quality/- Code quality and refactoring guidancefile-writing/- Safe file writing and chunkingproblem-solving/- Transparent reasoning and decision-makingdesign-interview/- Structured design interview process
Each skill directory contains a SKILL.md file with the complete skill definition.
MIT