flpbalada/fb-skills/prompt-chaining
Claude Code and agent skill by flpbalada/fb-skills
- community
Checking that the SKILL.md file is still in the repository.
Break known LLM work into fixed sequential steps with handoff schemas, validation checks, retries, and final formatting. Use when later steps depend on earlier outputs or staged review reduces errors. Do not use for independent branches; use parallelization. Do not use when tasks must be discovered at runtime; use orchestrator-workers.
Install
npx vskill@latest install flpbalada/fb-skills/prompt-chainingSKILL.md
The same SKILL.md was published earlier as flpbalada/fb-skills/prompt-chaining.
Prompt Chaining
Break work into fixed ordered steps. Validate each handoff.
Goal
Reduce error by making each prompt do one job. Keep handoffs explicit.
Rules
- Use only for fixed sequences.
- Define final output first.
- Give each step one responsibility.
- Use strict handoff schema.
- Validate before next step.
- Stop or retry on bad output.
- Log cost, latency, input, and output when useful.
Flow
- Define final output.
- Split work into ordered steps.
- Write job and schema for each step.
- Run step 1.
- Validate output.
- Continue or retry.
- Final step formats result.
Good Step Boundaries
- Extract facts.
- Classify input.
- Summarize evidence.
- Draft answer.
- Check answer against facts.
- Format for target system.
Avoid
- Too many steps.
- Vague handoff format.
- Later step redoing earlier work.
- No validation.
- Copying full context every step.
- Using chaining when one prompt is enough.
Output
Decision Rule
Use prompt chaining when stepwise validation lowers errors more than handoff cost. If steps are independent, use parallelization.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/prompt-chaining/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 1
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/flpbalada/fb-skills/prompt-chaining)