refine — community refine, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Code Assistant Agents like Claude Code needing advanced specification refinement capabilities. A lightweight framework for spec-driven development with Claude Code and other AI coding assistants.

heiko-braun heiko-braun
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The refine skill by heiko-braun is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Code Assistant Agents like Claude Code needing advanced specification refinement capabilities.

Core Value

Empowers agents to refine existing specifications using focused refinement questions, supporting spec-driven development with features like loading specs from `/specs/{feature}.md` and handling multiple spec matches, all while integrating with AI coding assistants through protocols like Markdown file analysis.

Capabilities Granted for refine

Refining existing specifications based on user feedback
Loading and analyzing specs from designated directories
Asking targeted questions to clarify spec requirements

! Prerequisites & Limits

  • Requires existing specification files in Markdown format
  • Limited to refining specs within the `/specs/` directory hierarchy
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

refine

Install refine, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Refine Existing Spec

Refine an existing specification based on new insights, feedback, or changing requirements.

Feature to refine: $ARGUMENTS

Instructions

  1. Load the existing spec from /specs/{feature}.md

    • If no spec exists for this feature, suggest using /spec instead
    • If multiple specs match, ask the user which one to refine
  2. Ask 2-3 focused refinement questions (one at a time):

    • What aspect needs refinement? (goals, criteria, approach, scope)
    • What new information or feedback has emerged?
    • Are there specific pain points with the current spec?
  3. Check scope and modularity:

    • Does the refinement keep the spec small enough for a single vertical slice?
    • If criteria are being added, does the total still stay at ~5 or fewer?
    • Does the refinement change which modules are affected? Update the "Affected Modules" section.
    • If the refinement significantly expands scope or blast radius, suggest a separate spec instead.
  4. Update the spec in place:

    • Preserve front-matter: Keep all existing front-matter fields (title, description, author). Keep status: proposed (refinements don't change status)
    • Preserve completed acceptance criteria checkboxes
    • Update goals, criteria, or approach as needed
    • Update "Affected Modules" and "Test Strategy" if the changes alter them
    • Add to "Out of Scope" if removing features
    • Add refinement notes to the "Notes" section with timestamp
  5. Show a diff summary:

    • Highlight what changed (goals, new criteria, removed items, affected modules, etc.)
    • Ask for confirmation before saving
  6. Get user confirmation before proceeding to implementation

    • If confirmed, use the implement skill with the refined spec
    • If not, ask if they want to refine further

Refinement Guidelines

  • Preserve progress: Don't uncheck completed criteria unless they're no longer valid
  • Be additive when possible: Add new criteria rather than rewriting existing ones
  • Document changes: Always add a timestamped note explaining what was refined and why
  • Validate scope: Check if refinements are expanding scope significantly - if so, suggest a new spec
  • Validate modularity: If the refinement introduces new module dependencies or widens the blast radius, flag it explicitly

Example Refinement Note

markdown
1## Notes 2 3**Refinement 2026-01-25**: Updated approach to use WebSocket instead of polling based on performance testing results. Added new acceptance criterion for connection handling. Blast radius unchanged — change is contained within the `transport` module.

Remember:

  • Keep refinements focused and minimal
  • Preserve the spec's history through notes
  • Suggest new specs for major scope changes

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is refine?

Ideal for Code Assistant Agents like Claude Code needing advanced specification refinement capabilities. A lightweight framework for spec-driven development with Claude Code and other AI coding assistants.

How do I install refine?

Run the command: npx killer-skills add heiko-braun/draft. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for refine?

Key use cases include: Refining existing specifications based on user feedback, Loading and analyzing specs from designated directories, Asking targeted questions to clarify spec requirements.

Which IDEs are compatible with refine?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for refine?

Requires existing specification files in Markdown format. Limited to refining specs within the `/specs/` directory hierarchy.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add heiko-braun/draft. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use refine immediately in the current project.

Related Skills

Looking for an alternative to refine or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI