sm:stage:prompt-craft

Convert vague stories or failed prompts into six-part structured prompts for coding tools.

5|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mnfst-ai/Stage_Manager_Skills --skill sm-stage-prompt-craft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sm:stage:prompt-craft
Source: https://github.com/mnfst-ai/Stage_Manager_Skills/tree/main/plugins/stage-manager/skills/stage-prompt-craft
Command: npx skills add https://github.com/mnfst-ai/Stage_Manager_Skills --skill sm-stage-prompt-craft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes ambiguity when handing design decisions or chunks to agentic coding tools by converting vague stories, failed prompts, or half-formed chunks into a single, executable prompt that prevents the tool from inventing unintended behavior.

Core Features & Use Cases

  • Structured Prompt Generation: Produces a six-part prompt (context, goal, scope, constraints, definition of done, guardrails) ready to paste into Claude Code, Cursor, Replit, or similar tools.
  • Prompt Repair & Diagnosis: Analyzes failed prompts, identifies the gap between expected and actual output, and suggests targeted changes to tighten results.
  • Gap Prioritization & Tightens: Lists prioritized inventions the tool will make (P1–P3) and recommends exact clarifications for P1 issues.
  • Use Case: Turn a shaped chunk or a broken prompt into a scoped handoff that a coding assistant can implement without adding unrequested features.

Quick Start

Turn this chunk into a single, scoped prompt for a coding tool that includes context, a one-sentence goal, explicit scope and constraints, a behavioral definition of done, and specific guardrails.

Frequently Asked Questions about sm:stage:prompt-craft

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write precise prompts for coding tools like Claude Code or Cursor?

To write precise prompts for coding tools, use a structured format containing context, goal, scope, constraints, definition of done, and guardrails. This prevents agentic coding assistants from inventing unintended behavior or adding unrequested features during single-outcome handoffs.

Why does my AI coding assistant keep inventing unrequested features?

AI coding assistants invent features when prompts lack explicit scope and guardrails. By applying prompt engineering constraints and a strict definition of done, you can scope a single-outcome handoff and prevent the tool from guessing your intended behavior.

What is the best way to repair a failed prompt for an agentic coding tool?

The best way to repair a failed prompt is to analyze the gap between expected and actual output, then apply targeted prompt engineering changes. You identify prioritized inventions, suggest tightens for P1 issues, and restructure the prompt with explicit constraints.

Can I use structured prompt engineering for Replit and similar agentic tools?

Yes, structured prompt engineering works with Replit and similar agentic tools. By providing a six-part structured prompt with context, goal, scope, constraints, definition of done, and guardrails, you ensure precise single-outcome code handoffs across any agentic coding environment.

What should be included in a definition of done for AI code generation?

A definition of done for AI code generation should include explicit behavioral outcomes and strict scope boundaries. Combined with specific guardrails and constraints, it ensures the coding tool stops at the requested functionality without inventing unrequested features.

When should I not use a single structured prompt for code handoff?

You should not use a single structured prompt for code handoff if your task requires multi-step iterative development rather than a single-outcome execution. Complex workflows needing continuous refinement may outgrow the constraints of a static, scoped prompt.