Skill definitions for Claude Code agents
Find a file
dan 3490f28682 refactor: consolidate stale logic, use transaction helper, add migrations
- Add StaleLevel enum (ok, WARN, STALE, DEAD) to types.nim
- Extract computeStaleLevel() as single source of truth
- Simplify isStale() and staleLevel() to use computeStaleLevel()
- Refactor transition() and transitionToFailed() to use withTransaction
- Add schema migration infrastructure:
  - CurrentSchemaVersion constant
  - Migrations sequence for incremental upgrades
  - getSchemaVersion() and runMigrations() procs
  - initSchema() now runs pending migrations

Closes: skills-dtk, skills-8fd, skills-9ny

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 15:37:55 -08:00
.beads bd sync: 2026-01-11 15:34:25 2026-01-11 15:34:25 -08:00
.claude fix: review-gate Stop hook output format and test harness 2026-01-10 08:23:46 -08:00
.claude-plugin feat: add review-gate skill for cross-agent quality enforcement 2026-01-09 20:39:34 -08:00
.opencode/command Initial commit: Agentic coding skills repository 2025-11-08 10:55:15 -08:00
.specify refactor(specify): simplify branch generation and add main (skills-lzk) 2026-01-03 12:13:21 -08:00
bin test: add deploy-skill.sh config injection tests (21 tests) 2026-01-06 16:29:12 -08:00
docs refactor: extract helpers and add developer docs 2026-01-11 15:34:15 -08:00
modules feat(nix): consolidate skill list into skills.nix (skills-8v0) 2026-01-03 12:06:18 -08:00
skills feat: add circuit breaker to prevent Stop hook infinite loop 2026-01-10 10:33:24 -08:00
specs feat: add ops-review skill with Phase 1 lenses 2026-01-01 17:36:24 -08:00
src refactor: consolidate stale logic, use transaction helper, add migrations 2026-01-11 15:37:55 -08:00
workflows update: code-review proto with LLM-in-the-loop pattern 2025-12-26 01:51:10 -05:00
.envrc doc-review: design session complete, spun off to ~/proj/doc-review 2025-12-04 16:44:49 -08:00
.gitattributes feat: add per-repo skill deployment pattern 2025-11-30 14:47:02 -08:00
.gitignore chore: ignore .worker-state runtime directory 2026-01-10 23:24:53 -08:00
AGENTS.md feat: add web-research skill and automate deployment 2025-11-23 23:18:32 -08:00
CODE-REVIEW-niri-window-capture.md feat(tufte-press): evolve skill to complete workflow with JSON generation and build automation 2025-11-10 15:03:44 -08:00
DEPLOYED.md feat(tufte-press): evolve skill to complete workflow with JSON generation and build automation 2025-11-10 15:03:44 -08:00
DEPLOYMENT-QUESTIONS.md feat(tufte-press): evolve skill to complete workflow with JSON generation and build automation 2025-11-10 15:03:44 -08:00
DEPLOYMENT.md docs: mark screenshot-latest and niri-window-capture as deployed 2025-12-28 20:55:10 -05:00
flake.lock feat(tufte-press): evolve skill to complete workflow with JSON generation and build automation 2025-11-10 15:03:44 -08:00
flake.nix feat(nix): consolidate skill list into skills.nix (skills-8v0) 2026-01-03 12:06:18 -08:00
NIX-FLAKE-README.md feat(tufte-press): evolve skill to complete workflow with JSON generation and build automation 2025-11-10 15:03:44 -08:00
NIX-FLAKE-USAGE.md feat(tufte-press): evolve skill to complete workflow with JSON generation and build automation 2025-11-10 15:03:44 -08:00
README.md docs: update README with all 14 skills 2025-12-28 22:08:01 -05:00
RFC-AI-AGENT-EXTENSIBILITY-PATTERNS.md feat: add web-research skill and automate deployment 2025-11-23 23:18:32 -08:00
skills.nix feat(nix): consolidate skill list into skills.nix (skills-8v0) 2026-01-03 12:06:18 -08:00
web_search_brainstorm.md docs: resolve web search design questions 2025-12-28 22:21:05 -05:00
WORKFLOW.md Initial commit: Agentic coding skills repository 2025-11-08 10:55:15 -08:00

Agentic Coding Skills

A unified repository for developing, testing, and deploying reusable skills for AI coding agents (Claude Code and OpenCode).

Overview

This repository provides a structured framework for building skills - composable, reusable capabilities that enhance AI coding agents. Skills combine instructions, helper scripts, templates, and examples to enable agents to perform complex, multi-step workflows consistently.

Why Skills?

  • Consistency: Standardized workflows across different projects
  • Reusability: Write once, use everywhere
  • Composability: Skills can call other skills
  • Version Control: Track and evolve capabilities over time
  • Multi-Agent Support: Same skills work with both Claude Code and OpenCode

Repository Structure

skills/
├── README.md                    # This file
├── WORKFLOW.md                  # Skill development workflow guide
├── skills/                      # Individual skill implementations
│   ├── worklog/                # Org-mode worklog generation
│   ├── update-spec-kit/        # Spec-kit ecosystem updates
│   └── template/               # Template for new skills
├── .specify/                    # Spec-kit framework (for developing this repo)
│   ├── templates/
│   ├── scripts/
│   └── memory/
└── .opencode/                   # OpenCode commands (for developing this repo)
    └── command/

Skills Included

Skill Description Status
code-review Multi-lens code review (bloat, smells, dead-code, redundancy). Interactive issue filing. Deployed
niri-window-capture Invisibly capture screenshots of any window across workspaces using niri compositor. Deployed
orch Query multiple AI models for consensus decisions, second opinions, and devil's advocate analysis. Deployed
screenshot-latest Find and analyze the most recent screenshot without typing paths. Deployed
worklog Create comprehensive structured org-mode worklogs documenting work sessions. Deployed
ai-tools-doctor Check and sync AI coding tool versions against declared manifest. Available
bd-issue-tracking Track complex, multi-session work with dependency graphs using beads. Available
spec-review Review spec-kit specifications using multi-model AI consensus before phase transitions. Available
tufte-press Generate Tufte-inspired study card JSON from conversation, build PDF, and print. Available
update-opencode Check for and apply OpenCode version updates in Nix-based dotfiles. Available
update-spec-kit Update spec-kit repository, CLI tool, and all project templates to latest. Available
web-research Conduct deep web research and produce structured reports. Available
web-search Search the web for information using Claude Code's subprocess capability. Available
template Template for creating new skills. Development

Skill Structure

Each skill follows a standard structure:

skill-name/
├── SKILL.md                    # Primary skill definition
│   ├── Frontmatter metadata (name, description)
│   ├── When to Use section
│   ├── Process/Instructions section
│   └── Requirements section
├── README.md                   # User-facing documentation
├── scripts/                    # Helper scripts
│   ├── script1.sh
│   └── script2.sh
├── templates/                  # File templates
│   └── template-file.ext
└── examples/                   # Example outputs
    └── example-output.ext

SKILL.md Format

---
name: skill-name
description: One-line description of what this skill does
---

# Skill Name

Detailed description of the skill.

## When to Use

Explicit triggers and use cases for invoking this skill.

## Process

Step-by-step instructions for the agent to follow.

## Requirements

- Dependency 1
- Dependency 2

Quick Start

Using Skills

Claude Code: Skills in ~/.claude/skills/ are automatically available. The agent will invoke them when appropriate based on the description and When to Use sections.

OpenCode: Skills in ~/.config/opencode/skills/ are discovered by the opencode-skills plugin. Ensure the plugin is installed and configured.

Developing Skills

  1. Create a new skill branch:

    git checkout -b feature/new-skill-name
    
  2. Copy the template:

    cp -r skills/template skills/your-skill-name
    
  3. Edit SKILL.md with your skill definition

  4. Add scripts/templates as needed

  5. Test locally by deploying to ~/.claude/skills/ or ~/.config/opencode/skills/

  6. Document in README.md for users

See WORKFLOW.md for detailed development workflow.

Deployment

Claude Code Deployment

Manual deployment:

# Link skill to Claude Code skills directory
ln -s $(pwd)/skills/your-skill-name ~/.claude/skills/your-skill-name

Nix Home Manager deployment:

# In your home.nix or equivalent
home.file.".claude/skills/your-skill-name" = {
  source = /path/to/skills/skills/your-skill-name;
  recursive = true;
};

OpenCode Deployment

Manual deployment:

# Link skill to OpenCode skills directory
ln -s $(pwd)/skills/your-skill-name ~/.config/opencode/skills/your-skill-name

Nix Home Manager deployment:

# In your home.nix or equivalent
home.file.".config/opencode/skills/your-skill-name" = {
  source = /path/to/skills/skills/your-skill-name;
  recursive = true;
};

Enable opencode-skills plugin:

// ~/.config/opencode/config.json
{
  "plugin": ["opencode-skills"]
}

Design Principles

1. Agent-First Design

Skills are written for AI agents, not humans. Instructions should be:

  • Explicit and unambiguous
  • Procedural (step-by-step)
  • Include decision criteria
  • Reference specific files/commands

2. Self-Contained

Each skill should:

  • Include all necessary scripts
  • Document all dependencies
  • Provide templates for generated content
  • Include examples of expected output

3. Composable

Skills can invoke other skills, but should:

  • Declare skill dependencies explicitly
  • Handle missing dependencies gracefully
  • Avoid circular dependencies

4. Testable

Skills should be testable by:

  • Providing example inputs
  • Defining expected outputs
  • Including validation criteria
  • Supporting dry-run modes where applicable

5. Version Controlled

All skill components should be:

  • Tracked in git
  • Documented with clear commit messages
  • Tagged when significant changes occur
  • Backward compatible when possible

Contributing

Adding a New Skill

  1. Use the skill template as starting point
  2. Follow the standard skill structure
  3. Test with both Claude Code and OpenCode
  4. Document in main README.md
  5. Submit PR with comprehensive description

Modifying Existing Skills

  1. Create feature branch
  2. Update SKILL.md and associated files
  3. Test changes with real-world usage
  4. Update version/changelog if significant
  5. Submit PR explaining changes and impact

Integration with Spec-Kit

This repository uses spec-kit for its own development workflow. The .specify/ and .opencode/ directories contain the spec-kit framework that enables structured feature development.

To develop a new skill using spec-kit:

# In OpenCode or Claude Code
/speckit.specify "Add a new skill for [description]"

This will guide you through the structured development process.

License

MIT

Support

For issues, questions, or contributions, please open an issue in this repository.