pmccurley87/p-skills/pm-prompt-toolkit
Claude Code and agent skill by pmccurley87/p-skills
- community
Checking that the SKILL.md file is still in the repository.
Analyzes and rewrites prompts for better AI output, creates reusable prompt templates, and structures end-to-end AI content workflows. Use when the user wants to improve prompts, build prompt templates, run A/B tests on prompts, or optimize AI content workflows.
Install
npx vskill@latest install pmccurley87/p-skills/pm-prompt-toolkitSKILL.md
The same SKILL.md was published earlier as pmccurley87/p-skills/pm-prompt-toolkit.
Prompt Engineer Toolkit
Overview
Move prompts from ad-hoc drafts to production assets with repeatable testing, versioning, and regression safety. Emphasizes measurable quality over intuition.
When to Use
- Launching a new LLM feature that needs reliable outputs
- Prompt quality degrades after model or instruction changes
- Multiple team members edit prompts and need history/diffs
- Evidence-based prompt selection for production rollout
- Consistent prompt governance across environments
When NOT to Use
- Writing a prompt from scratch (use pm-prompt-master)
- Designing prompts with evaluation rubrics and iteration (use pm-prompt-engineer)
- One-off prompt improvements that don't need A/B testing or versioning
Core Capabilities
- A/B prompt evaluation against structured test cases
- Quantitative scoring for adherence, relevance, and safety checks
- Prompt version tracking with immutable history and changelog
- Prompt diffs to review behavior-impacting edits
- Reusable prompt templates and selection guidance
- Regression-friendly workflows for model/prompt updates
Key Workflows
1. Run Prompt A/B Test
Prepare JSON test cases with input/expected pairs, then evaluate both prompts against them. Score each output on:
2. Choose Winner With Evidence
Score outputs per case and aggregate:
- expected content coverage
- forbidden content violations
- regex/format compliance
- output length sanity
Use the higher-scoring prompt as candidate baseline, then run regression suite.
3. Version Prompts
Track each prompt with a semantic identifier (e.g., support_classifier), version number, author, and change note. Store versions immutably so diffs between any two versions are always available.
4. Regression Loop
- Store baseline version.
- Propose prompt edits.
- Re-run A/B test.
- Promote only if score and safety constraints improve.
Prompt Templates
1) Structured Extractor
2) Classifier
3) Summarizer
4) Rewrite With Constraints
5) QA Pair Generator
6) Issue Triage
7) Code Review Summary
8) Persona Rewrite
9) Policy Compliance Check
10) Prompt Critique
Technique Guide
Selection Rules
- Zero-shot: deterministic, simple tasks
- Few-shot: formatting ambiguity or label edge cases
- Chain-of-thought: multi-step reasoning tasks
- Structured output: downstream parsing/integration required
- Self-critique/meta prompting: prompt improvement loops
Prompt Construction Checklist
- Clear role and goal
- Explicit output format
- Constraints and exclusions
- Edge-case handling instruction
- Minimal token usage for repetitive tasks
Failure Pattern Checklist
- Too broad objective
- Missing output schema
- Contradictory constraints
- No negative examples for unsafe behavior
- Hidden assumptions not stated in prompt
Evaluation Rubric
Score each case on 0-100 via weighted criteria:
- Expected content coverage: +weight
- Forbidden content violations: -weight
- Regex/format compliance: +weight
- Output length sanity: +/-weight
Recommended acceptance gates:
- Average score >= 85
- No case below 70
- Zero critical forbidden-content hits
Pitfalls to Avoid
- Picking prompts from single-case outputs -- use a realistic, edge-case-rich test suite.
- Changing prompt and model simultaneously -- always isolate variables.
- Missing
must_not_contain(forbidden-content) checks in evaluation criteria. - Editing prompts without version metadata, author, or change rationale.
- Skipping semantic diffs before deploying a new prompt version.
- Optimizing one benchmark while harming edge cases -- track the full suite.
- Model swap without rerunning the baseline A/B suite.
Pre-Promotion Checklist
- [ ] Task intent is explicit and unambiguous.
- [ ] Output schema/format is explicit.
- [ ] Safety and exclusion constraints are explicit.
- [ ] No contradictory instructions.
- [ ] No unnecessary verbosity tokens.
- [ ] A/B score improves and violation count stays at zero.
Versioning Policy
- Use semantic prompt identifiers per feature (
support_classifier,ad_copy_shortform). - Record author + change note for every revision.
- Never overwrite historical versions.
- Diff before promoting a new prompt to production.
Rollout Strategy
- Create baseline prompt version.
- Propose candidate prompt.
- Run A/B suite against same cases.
- Promote only if winner improves average and keeps violation count at zero.
- Track post-release feedback and feed new failure cases back into test suite.
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 repositoryCheckingplugins/pm/skills/pm-prompt-toolkit/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 6 Nov 2026, 25 days ago.
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/pmccurley87/p-skills/pm-prompt-toolkit)