whatisgithub

What is preflight-spec-skill?

eriks-briedis/preflight-spec-skill — explained in plain English

Analysis updated 2026-05-18

0Audience · developerComplexity · 1/5LicenseSetup · easy

In one sentence

A Claude Code skill that turns a vague coding request into a short written spec and a way to verify the fix before any code changes.

Mindmap

mindmap
  root((repo))
    What it does
      Classifies task type
      Asks blocking questions
      Writes short spec
      Requires verification
    Tech stack
      Claude Code skill
      Markdown
    Use cases
      Fix vague bug reports
      Plan refactors safely
      Verify before merging
    Audience
      Developers using Claude Code

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn a one-line bug report into a clear spec with acceptance criteria before starting work.

USE CASE 2

Force a verification target, like a regression test, before letting an AI agent touch production code.

USE CASE 3

Classify a task as bugfix, feature, refactor, or migration so the right questions get asked.

What is it built with?

Claude CodeMarkdown

How does it compare?

eriks-briedis/preflight-spec-skill0verflowme/alarm-clock0xhassaan/nn-from-scratch
Stars00
LanguageCSSPython
Last pushed2022-10-03
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity1/52/54/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

This project is a small add-on skill for Claude Code, the AI coding assistant, meant to fix a common problem: developers often type vague requests like fix duplicate drafts without spelling out what they actually mean, and the AI ends up guessing, sometimes solving the wrong problem or making changes that are broader than intended. The skill works as a step that runs before any real coding happens. First it figures out what kind of task is being asked for, such as a bug fix, a new feature, a refactor, a frontend change, an API change, a database migration, or an investigation. Then, only if genuinely needed, it asks up to three clarifying questions rather than a long questionnaire. From there it writes a short specification covering the goal, what is explicitly out of scope, criteria for knowing the work is done, which files are likely involved, and possible risks. Finally, it requires some way to verify the change actually worked, such as a test that fails before the fix and passes after. Importantly, the README is explicit about what this is not: it is not a library of prompts, not a wrapper that replaces Claude Code itself, not a substitute for writing tests, and not meant to interrogate the user before every tiny edit. Small, low-risk changes should not trigger this extra process. Installing it is simple: you copy a single file, SKILL.md, into wherever your Claude Code setup keeps its skills, whether that is project level or user level. The README includes worked examples covering a bug fix, a frontend layout issue, a refactor, an API change, and a database migration, each showing the kind of questions and spec the skill would produce. This tool is aimed at developers who use Claude Code regularly and want more disciplined, spec-first behavior out of their coding sessions, especially on tasks where a wrong guess could cost real rework. It is released under the MIT license, allowing free use including for commercial purposes.

Copy-paste prompts

Prompt 1
Install this skill and use it on my next bugfix request.
Prompt 2
Show me how the preflight-spec skill would turn a vague feature request into a spec.
Prompt 3
Help me write my own examples file like examples/api-change.md for my project.
Prompt 4
Explain how this skill decides which questions to ask versus when to skip questions.

Frequently asked questions

What is preflight-spec-skill?

A Claude Code skill that turns a vague coding request into a short written spec and a way to verify the fix before any code changes.

What license does preflight-spec-skill use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is preflight-spec-skill to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is preflight-spec-skill for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.