llm-prompt-design

Centralizes LLM prompts into composable role, structure, and anti-slop blocks for maintainable app features.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/tanveerriaz/Skillz --skill llm-prompt-design-tanveerriaz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: llm-prompt-design
Source: https://github.com/tanveerriaz/Skillz/tree/main/skills/llm-prompt-design
Command: npx skills add https://github.com/tanveerriaz/Skillz --skill llm-prompt-design-tanveerriaz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Prompts scattered across a codebase drift, contradict each other, and produce hype-filled "AI slop" output that sounds robotic or salesy. This Skill centralizes prompt building blocks so LLM features stay maintainable and output reads like a human wrote it. ## Core Features & Use Cases - Centralized prompt module: All prompt text and builders live in one module (e.g. prompts.py or llm/prompts.ts) instead of inline strings across feature files. - Composable prompt layers: Separates role/tone, output structure, anti-slop rules, and a per-call context label so one builder adapts to many screens. - Anti-slop output rules: Enforces plain English, no hype, no clichéd chatbot closers, and no invented facts. - Use Case: When adding an "enhance update" feature to an app, compose a PM-voice role block with a short-line structure block and a context label, then test that the assembled prompt contains all required blocks. ## Quick Start Use the llm-prompt-design skill to centralize the prompts for my app's text rewrite feature into a single composable prompt module.

Frequently Asked Questions about llm-prompt-design

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

FAQPage Schema
How do I centralize LLM prompts in one place in my app?▼

Put all prompt text and builder functions in a single module such as prompts.py or llm/prompts.ts, and call it from feature code instead of inlining prompt strings. This makes behavior changeable in one place and prevents drift across files.

How do I stop LLM output from sounding like AI slop?▼

Add an anti-slop rules block to every prompt: plain English, no hype, no clichéd closers like "I hope this helps!", no buzzword padding, and no invented facts. Keep it as a separate composable block so it applies consistently across features.

How do I reuse one prompt across different screens or features?▼

Pass a per-call context label that tells the prompt where it is being used, while keeping the role, structure, and rules blocks fixed. Vary only the context label rather than forking the entire prompt for each screen.

What should happen when the LLM call fails or no API key is set?▼

Degrade gracefully by preserving the user's original text instead of replacing it with an error string or blank output. Never hardcode API keys in prompt modules; load them through secure environment configuration.

How do I test prompt composition without calling the model?▼

Write simple assertions that the assembled prompt contains the required blocks: role/tone, output structure, anti-slop rules, and the context label. Spot-check output quality separately to catch drift from the expected shape.