claude

prompt-craft

Turn rough prompts into deterministic specs and surface the right next step: /improve-prompt, /plan, debug/refactor/review lenses, a follow-up-suggesting Stop hook, and opt-in secret/format guardrails

1 on GitHubby Abhijit Bansalv0.3.2MITupdated 9 days ago
/

Plugin prompt-craft from marketplace claude-skills in abhijitbansal/claude-skills. Commands read from the repo's manifest — 9 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (7)

  • debug

    Apply a disciplined debugging lens to a bug, test failure, crash, or "it's not working" report — reproduce first, isolate, form one hypothesis at a time, prove it with a failing test before fixing. Use when the user reports unexpected behavior, a stack trace, a flaky test, or asks "why is this broke

  • improve-prompt

    Turn a rough, vague, or one-line request into a deterministic spec before any work starts — restated goal, explicit acceptance criteria, surfaced assumptions to confirm, and recommended slash commands. Use when the user says "improve this prompt", "make this a spec", "sharpen this", "what would you

  • plan

    Decompose a non-trivial task into an explicit, tracked plan with goals and per-step acceptance criteria before writing code. Use when the user says "plan this", "break this down", "what's the plan", or asks for a multi-step feature/refactor that touches more than one file. Pairs with plan mode. Skip

  • refactor

    Apply a refactoring lens — restructure code without changing behavior, guarded by tests that pass before and after. Use when the user says "refactor", "clean this up", "extract this", "simplify this", "reduce duplication", or "make this readable" on existing working code. Skip when the change is mea

  • refresh

    Rebuild the prompt-craft command registry and usage profile, and print a summary of installed commands and your personalized recommendations. Use when you install or update plugins and want the advisor to pick them up immediately, or say "refresh prompt-craft", "rebuild the command registry".

  • review

    Apply a code-review lens to a diff, branch, or file — find correctness bugs, security issues, and quality problems, ranked by severity, with a concrete fix for each. Use when the user says "review this", "review my diff", "check this PR", "look this over before I commit", or "is this safe". Skip whe

  • structured-output-adaptive-thinking-token-bloat

    A Claude API call using output_config.format (json_schema structured outputs) with thinking:{type:"adaptive"} burns most of its output budget on thinking (observed ~21k of ~24k tokens) without improving JSON quality, making the run up to ~5x more expensive than the same call with thinking omitted —

Hooks (5)

  • UserPromptSubmit

    bash "${CLAUDE_PLUGIN_ROOT}/hooks/prompt_hint.sh"

  • SessionStart

    bash "${CLAUDE_PLUGIN_ROOT}/hooks/registry_freshness.sh"

  • Stop

    bash "${CLAUDE_PLUGIN_ROOT}/hooks/suggest_next.sh"

  • PreToolUse

    bash "${CLAUDE_PLUGIN_ROOT}/hooks/block_secrets.sh"

  • PostToolUse

    bash "${CLAUDE_PLUGIN_ROOT}/hooks/format_on_edit.sh"

View source on GitHub

More from abhijitbansal/claude-skills

All 8 plugins →

ios-dev

claude

iOS development loop: simulator build + preview + screenshot delivery, device builds, TestFlight/App Store release automation

59 skills · 6 commands

1

General dev workflow helpers: commit flow, skill contribution, team orchestration, image-parser and web-researcher agents, shellcheck-on-edit hook

19 skills · 4 commands · 2 agents · hooks

1

linear-pm

claude

Linear project management conventions and slash commands: issue templates, agent-ready workflow, autonomous issue pickup

1 skill · 6 commands

1

Host-agnostic, offline, open-source artifact skills: static SQL + Vega-Lite dashboards with per-chart provenance, ELK-laid-out diagrams, HTML explainer pages and slide decks from typed sections, interactive 3D scenes (a city, forest, galaxy or terrain from your data, or a diagram or chart lifted into 3D), and spec-driven animated videos rendered to MP4

5 skills

1

Set-and-forget orchestrator for long Claude Code runs: when the 5-hour usage limit pauses sessions, wind notices, waits for the reset, and resumes every tmux session — including overnight

1 skill · 1 command

1

Session compass: what each session is building, where it stands and what it produced, as a compass band, a /compass pane and a compass_status tool

1

Maintain prompt-craft?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins8 plugins