Effective Prompt Crafting

VerifiedSafe

Craft effective prompts for Claude workers using proven best practices. Learn to be explicit, add context, and structure instructions for optimal results.

Sby Skills Guide Bot
ProductivityIntermediate
3/4/2026
Claude Code
#prompt-engineering#backlog#issue-preparation#claude-4#delegation

Recommended for

Automated summary

This skill turns backlog issues into effective worker prompts by applying Claude 4 best practices such as explicit instructions, stated motivation, and positive framing.

Strengths

  • Provides a reusable prompt template (context, task, approach, key files, completion criteria)
  • Includes before/after comparison tables to fix weak phrasing
  • Offers a content-signal to suggested-skill mapping table
  • Gives complexity guidelines and a concrete list of anti-patterns

Limitations

  • The suggested-skill table is tied to a specific ecosystem and needs adaptation
  • Assumes a ticket-tracking tool (bd close) that is not standard
  • Does not automatically verify or score the quality of the generated prompt
When to use it

Use it when preparing a backlog issue to hand to a Claude worker and you want a clear, well-scoped, structured prompt.

When not to use it

Avoid it for writing prompts outside a backlog workflow, or when the issue is too large and should be broken down first.

Security analysis

Safe
Quality score82/100

This is a documentation/instructional skill that only provides guidance on writing prompts. Although Bash is in allowed-tools, the body never instructs executing shell commands beyond an example issue-close command (bd close). No network exfiltration, destructive commands, obfuscation, or safety-disabling content present.

No concerns found

How this analysis is made

Examples

Craft a prompt for a backlog issue
Craft a prompt for issue BD-142 so a worker can implement the login rate limiting.
Prepare an issue with skill hints
Prepare issue BD-87 into a ready-to-run prompt, suggest relevant skills and key files.
Improve an existing prompt
Rewrite this worker prompt using Claude 4 best practices: 'Fix the dashboard, it's broken, make it better.'

name: prompt-craft description: | Craft effective worker prompts from backlog issues using Claude 4 best practices. Use when preparing issues for workers, writing prompts, or optimizing prompt quality. Trigger with "craft prompt", "write prompt", "prepare issue", "make ready". model: haiku allowed-tools: Read, Grep, Glob, Bash

Prompt Craft - Claude 4 Best Practices

Craft effective prompts for Claude workers using proven patterns.

Core Principles

1. Be Explicit

Claude 4.x follows instructions precisely. Use action verbs.

| Less Effective | More Effective | |----------------|----------------| | "Can you suggest improvements?" | "Update the function to improve performance." | | "Look at this code" | "Find and fix the null check bug" | | "Help with testing" | "Write unit tests for the auth module" |

2. Add Context/Motivation

Explain WHY, not just WHAT. Claude generalizes from explanations.

| Less Effective | More Effective | |----------------|----------------| | "NEVER use ellipses" | "Never use ellipses since the TTS engine won't pronounce them correctly." | | "Always add error handling" | "Add error handling so users see helpful messages instead of stack traces." |

3. Natural Skill Triggers

Use natural language, avoid aggressive markers.

| Avoid | Use | |-------|-----| | "CRITICAL: You MUST use this tool when..." | "Use the X skill for Y." | | "ALWAYS: This is REQUIRED" | "Use this approach when..." | | "IMPORTANT!!!: Never forget to..." | "Remember to..." |

4. Positive Framing

Tell Claude what TO do, not just what to avoid.

| Less Effective | More Effective | |----------------|----------------| | "Don't write long functions" | "Keep functions under 20 lines" | | "Avoid complex logic" | "Use simple, readable patterns" |

Prompt Structure

## Context
[1-2 sentences: Why this work matters, what problem it solves]

## Task
[Clear, explicit action instruction using action verbs]

## Approach
[Optional: Skill hints, patterns to follow, key considerations]
Use the [skill] skill for [specific purpose].

## Key Files
[3-5 most relevant files to start with]
- path/to/main/file.ts
- path/to/related/file.ts

## When Done
[How to complete: close issue, what to include in summary]
Close issue: bd close ISSUE-ID --reason "summary"

Skill Matching

Match skills based on content:

| Content Signal | Suggested Skill | |----------------|-----------------| | .tsx, .jsx, React | frontend-development | | terminal, xterm, resize | xterm-js | | auth, login, session | better-auth | | database, SQL, query | databases | | API, REST, endpoint | backend-development | | CSS, styling, theme | ui-styling | | docs, markdown | docs-seeker |

Subagent Hints

Claude 4.5 naturally delegates. Add hints when beneficial:

Use subagents in parallel to scaffold Dashboard, Settings, and Profile pages.
Use an Explore agent to find the relevant authentication files first.

Parallelization Hints

For tasks with independent subtasks:

These components can be developed in parallel:
- HeaderComponent
- FooterComponent
- SidebarComponent

Complexity Guidelines

| Prompt Length | When to Use | |---------------|-------------| | Short (3-5 lines) | Simple bug fixes, single-file changes | | Medium (10-15 lines) | Feature work, multi-file changes | | Long (20+ lines) | Complex features, architectural changes |

Rule: If you need more than 20 lines, the issue might need breaking down.

Anti-Patterns

Avoid these common mistakes:

  1. Overloading: Too many skills, too many files, too much context
  2. Vague tasks: "Make it better" without specific criteria
  3. All caps: CRITICAL, IMPORTANT, MUST - creates anxiety, not clarity
  4. Negative framing: Lists of don'ts without corresponding dos
  5. No completion criteria: Worker doesn't know when they're done

References

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/effective-prompt-crafting-mmbizk3k/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/effective-prompt-crafting-mmbizk3k' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/effective-prompt-crafting-mmbizk3k/download' --output '.skill-downloads/effective-prompt-crafting-mmbizk3k/SKILL.md.part' && mv '.skill-downloads/effective-prompt-crafting-mmbizk3k/SKILL.md.part' '.skill-downloads/effective-prompt-crafting-mmbizk3k/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Grep, Glob, Bash

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/effective-prompt-crafting-mmbizk3k/SKILL.md' && test -s '.skill-downloads/effective-prompt-crafting-mmbizk3k/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/prompt-craft' && cp -R '.skill-downloads/effective-prompt-crafting-mmbizk3k' '.claude/skills/prompt-craft'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/effective-prompt-crafting-mmbizk3k'

openskills read 'effective-prompt-crafting-mmbizk3k'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/effective-prompt-crafting-mmbizk3k/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills