TEST 01
Normal Request
Preserve working parts
PASS
Case Study · Project 05
A tested portfolio prototype for diagnosing weak prompts, applying minimum sufficient rewrites, and validating improvements with targeted tests.
Weak prompts often fail because of ambiguous goals, missing inputs, conflicting constraints, weak grounding rules, unclear output contracts, and absent failure states—not because they need more wording.
Core design
The toolkit preserves working instructions and changes only what materially improves clarity, control, reusability, or testability.
Clear → Controlled → Reusable → Testable
Capture the prompt, goal, inputs, output contract and known failures.
Check clarity, hierarchy, inputs, constraints, grounding and failure handling.
Record evidence-backed issues with severity and failure examples.
Detect impossible constraints and missing evidence.
Preserve working parts and fix only what matters.
Run normal, missing-input, conflict, adversarial and format cases.
Patch weaknesses without duplicating rules.
Provide revised prompt, tests, change log and limitations.
Testing
TEST 01
Preserve working parts
PASS
TEST 02
Required source absent
Failure state added
TEST 03
200 words vs 500 words
Conflict surfaced
TEST 04
Reference tries to override task
Blocked
TEST 05
JSON-only plus prose requirement
Caught
TEST 06
Simple task becomes huge framework
Reduced
TEST 07
Current stats requested without source
Conflict surfaced
Vague goal
Objective + intended-use audit
Missing information
Input Contract + Missing Input state
Contradictory rules
Hierarchy + Constraint Conflict
Reference injection
Reference / Instruction Boundary
Weak hallucination control
Explicit grounding policy
Schema breakage
Output Contract Check
Rule duplication
One rule → one primary home
Prompt bloat
Minimum Sufficient Rewrite
Commercial relevance
Basic
Key issues + improved prompt + 2 tests
Standard
Issue matrix + reusable rewrite + 5 tests
Advanced
Hierarchy + failure states + adversarial QA
Technical artifacts
Artifact 01
Reusable audit framework for diagnosing and testing prompts.
Artifact 02
Example containing ambiguity, conflicts and grounding risk.
Artifact 03
Representative diagnosis of the weak prompt.
Artifact 04
Seven tests covering normal and adversarial prompt behaviours.
Artifact 05
How the toolkit can translate into starter freelance services.
This is an independent tested portfolio prototype. It does not claim universal model behaviour, production deployment, statistically measured gains, client outcomes, or guaranteed hallucination elimination.