Constraint Specification

Defining output format, length, tone, and content boundaries within prompts.

207 stars 37 forksFinance & Crypto Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add Owl-Listener/ai-design-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Owl-Listener/ai-design-skills --skill constraint-specification
Manual install
git clone --depth 1 https://github.com/Owl-Listener/ai-design-skills.git /tmp/ai-design-skills
mkdir -p ~/.claude/skills
cp -r /tmp/ai-design-skills/claude-plugin/prompt-architecture/skills/constraint-specification ~/.claude/skills/constraint-specification

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Constraint Specification
Constraints are the rules that shape AI output — what format to use, how long to be, what to include, what to exclude. Well-specified constraints produce predictable, useful outputs. Vague constraints produce inconsistent results.
## Types of Constraints
**Format constraints:**
- Output structure (JSON, markdown, plain text, bullet points, prose)
- Section headings and organisation
- Required fields and optional fields
- Data types and schemas
**Length constraints:**
- Word count ranges (not exact numbers — models are bad at counting)
- Section length proportions ("spend 60% on analysis, 40% on recommendations")
- Minimum and maximum bounds
- Conciseness directives ("be brief" vs. "be thorough")
**Content constraints:**
- Topics to include and exclude
- Required information elements
- Prohibited content
- Source restrictions (only use provided context, don't use external knowledge)
**Tone constraints:**
- Formality level
- Emotional register
- Audience-appropriate language
- Voice and style guidelines
**Quality constraints:**
- Accuracy requirements ("cite sources", "flag uncertainty")
- Completeness requirements ("address all aspects of the question")
- Originality requirements ("don't repeat the question back")
- Actionability requirements ("every recommendation must be implementable")
## Writing Effective Constraints
- **Be specific**: "Keep responses under 200 words" beats "be concise"
Read the full skill on GitHub

Details

Skill name
constraint-specification
Path
claude-plugin/prompt-architecture/skills/constraint-specification/SKILL.md
License
MIT
Repo updated
9 June 2026

FAQ

What does the Constraint Specification skill do?

Defining output format, length, tone, and content boundaries within prompts.

How do I install the Constraint Specification skill?

Claude Code plugin: /plugin marketplace add Owl-Listener/ai-design-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Constraint Specification popular?

It lives in Owl-Listener/ai-design-skills, which has 207 GitHub stars and 37 forks.

Related skills

Agent Role Design

207

Owl-Listener/ai-design-skills

Defining what each agent does, knows, and owns in a multi-agent system.

AI, LLMs & Agents37

Behavioral Consistency

207

Owl-Listener/ai-design-skills

Ensuring the AI behaves predictably across sessions, edge cases, and modalities.

AI, LLMs & Agents37

Bias Detection Design

207

Owl-Listener/ai-design-skills

Designing review workflows to surface and mitigate bias in AI outputs.

Productivity & Notes37

Define Language

292

danielvm-git/bigpowers

Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to specs/UBIQUITOUS_LANGUAGE_LATEST.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".

Finance & Crypto23

Who Built This Before Me

76

iagochavarry/who-built-this-before-me

Check whether a project, tool, library, or product idea has already been built before the user invests time in it. Find existing solutions, extract standard patterns, benchmark the user's angle against prior art, and deliver a clear verdict (build / fork / contribute / use existing / investigate why it failed). Use this skill whenever the user describes something they're thinking of building, making, shipping, launching, or coding — especially phrases like "I want to build…", "I'm thinking of making…", "should I build X…", "is there already a…", "my idea is…", or when the user is scoping a new

Finance & Crypto

Define Success

292

danielvm-git/bigpowers

TOMBSTONE — renamed/merged to plan-work. This stub resolves for one release then is removed.

Finance & Crypto23

Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.