prompt-engineering

Builds structured prompts, generates NPT constraints, and scores prompt quality against a 7-criterion rubric.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/geekatron/jerry-claude-plugin --skill prompt-engineering-geekatron
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prompt-engineering
Source: https://github.com/geekatron/jerry-claude-plugin/tree/main/skills/prompt-engineering
Command: npx skills add https://github.com/geekatron/jerry-claude-plugin --skill prompt-engineering-geekatron

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing effective prompts for AI agents is error-prone: vague instructions, missing routing, and absent quality gates cause downstream failures. This Skill operationalizes research-validated prompt construction (5-element anatomy), structured negation constraints (NPT-009/NPT-013), and a weighted 7-criterion quality rubric so prompts are specific, routable, and measurable. ## Core Features & Use Cases - Interactive Prompt Builder (pe-builder): Walks users through the 5-element prompt anatomy (routing, scope, data source, quality gate, output path) and produces XML-wrapped structured prompts with a self-review score. - NPT Constraint Generator (pe-constraint-gen): Converts intent descriptions into NPT-009/NPT-013 formatted constraints with consequence chains and constructive alternatives, wrapped in XML for agent governance YAML or rule files. - Prompt Quality Scorer (pe-scorer): Evaluates prompts against the 7-criterion rubric (C1 Task Specificity through C7 Positive Framing), computes a weighted composite score, classifies into tiers, and detects 8 anti-patterns with fixes. - Use Case: Ask the builder to construct a research prompt for a .NET microservice, then have the scorer evaluate it and iterate until the composite score reaches 90+. ## Quick Start Ask the assistant to build a structured prompt for your task, generate NPT-013 constraints for an agent, or score an existing prompt against the quality rubric.

Frequently Asked Questions about prompt-engineering

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

FAQPage Schema
How do I build a structured prompt with the 5-element anatomy?▼

Invoke the prompt-engineering skill and describe your task; the pe-builder agent walks you through skill routing, domain scope, data source, quality gate, and output path. It produces an XML-wrapped prompt with a self-review score against the 7-criterion rubric.

What is the difference between NPT-009 and NPT-013 constraint formats?▼

NPT-009 uses the format '{PRINCIPLE} VIOLATION: NEVER {action} -- Consequence: {impact}' for agent governance YAML forbidden actions. NPT-013 adds an 'Instead: {alternative}' clause, making it suited for behavioral constraints in rule files and skill documentation.

How is prompt quality scored against the 7-criterion rubric?▼

The pe-scorer agent rates each criterion (C1 Task Specificity through C7 Positive Framing) from 0 to 3, then computes a weighted composite out of 100. Scores map to tiers: Exemplary (90-100), Proficient (75-89), Developing (50-74), and Inadequate (0-49).

When should I not use the prompt-engineering skill?▼

Do not use it for adversarial review of deliverables (use /adversary), research or root-cause investigation (use /problem-solving), executing existing prompt templates, or validating agent definition YAML schemas. It constructs and scores prompts only.

Can the prompt builder and scorer work together in a loop?▼

Yes. The main context orchestrates a build-score-iterate cycle: pe-builder constructs the prompt, pe-scorer evaluates it, and pe-builder revises based on findings until the score reaches the target (default 90) or three iterations complete.