prompt-writer
БесплатноБез исполняемых скриптовНе проверенWrite maximally terse agent prompts from scratch. Use when creating agent specs, command prompts, or instruction sets with constitutional governance.
от rp1-run★ 38 звёзд на GitHubОб этом скилле
Prompt Writer
Guide for writing maximally terse agent prompts with built-in constitutional governance and epistemic stance. Combines compression-by-default authoring (tersify), governance primitives (constitution), and epistemological foundations (epistemology) into a single progressive-disclosure skill.
When to Use
- Creating new agent specifications or skill prompts
- Writing command/skill prompts with governance built in
- Drafting instruction sets for AI agents
- Applying constitutional or epistemic review to existing prompts
- Running the six-stage prompt pipeline via
/build-prompt
Core Principles
Structure-First: Start with skeleton, not prose. Choose section pattern, fill minimally.
Compression-by-Default: Every word must earn its place. Remove before adding.
Preserve Exactness: Normative language (MUST/SHOULD/MAY), literals, constraints stay verbatim.
Governed-by-Design: Constitutional primitives and epistemic stance are selected upfront, not bolted on.
Skill Files
Reference Layers
| File | Purpose | When to Load |
|---|---|---|
references/tersify.md |
Compression discipline, section patterns, abbreviation policy, style rules, validation checklist | Direct /prompt-writer invocation; prompt-validation pipeline stage |
references/constitution.md |
10 governance primitives (anti-loop, output discipline, role, scope limits, orchestrator purity, error degradation, exploration bounds, anti-bias, truth constraints, transition guards) + four agent-type profiles | Constitutional-checklist pipeline stage; standalone constitutional review |
references/epistemology.md |
Six epistemic stances (Fallibilist Empirical, Interpretivism, Phenomenology, Constructivism, Pragmatism, Compare-Mode) with composable contracts | Epistemic-stance pipeline stage; standalone epistemic review |
references/budget.md |
15% aggregate governance cap, per-stage budget allocations, line classification rules, enforcement protocol | Pipeline execution (Stage 6 budget enforcement); standalone budget review |
Companion Files
| File | Purpose | When to Load |
|---|---|---|
PATTERNS.md |
Reusable prompt patterns: constitutional agent, interview, map-reduce, state machine, tool selection, error hierarchy, output contract, progressive disclosure, checklist gate, parameterized behavior, engineering discipline | Direct /prompt-writer invocation; prompt authoring |
TEMPLATES.md |
Ready-to-use prompt templates at simple, moderate, complex, command, and tool/skill levels | Direct /prompt-writer invocation; prompt authoring |
Pipeline Stages
Six stages executed in fixed order by /build-prompt via the prompt-pipeline-runner agent. Each stage file follows a consistent structure: Purpose, Input, Process, Output.
| File | Stage | Purpose | When to Load |
|---|---|---|---|
pipeline/constitutional-checklist.md |
1 | Filter governance primitives by agent-type profile; generate constitutional directives | Pipeline execution; standalone constitutional review |
pipeline/fallibilist-overlay.md |
2 | Unconditionally inject five Popper-Deutsch overlay clauses | Pipeline execution (always applied) |
pipeline/epistemic-stance.md |
3 | Select domain stance from six options; compose epistemic contract | Pipeline execution; standalone stance selection |
pipeline/popper-patterns.md |
4 | Select and inject Popper-Deutsch patterns relevant to problem domain | Pipeline execution |
pipeline/confidence-schema.md |
5 | Apply 5-level ordinal confidence scale; map existing rp1 idioms | Pipeline execution; standalone confidence normalization |
pipeline/prompt-validation.md |
6 | Run 3-axis validation (style, constitutional, epistemic); produce validation report | Pipeline execution; standalone prompt validation |
Loading Instructions
Direct Invocation (Backward-Compatible)
When invoked as /prompt-writer for prompt authoring and style guidance:
- Read this SKILL.md for overview and core principles
- Read
references/tersify.mdfor the complete compression discipline and style rules - Read
PATTERNS.mdfor reusable prompt patterns - Read
TEMPLATES.mdfor ready-to-use templates at different complexity levels
This provides the same terse prompt authoring guidance as the original prompt-writer. The reference layers and pipeline stages below are available as additional resources but are not required for this workflow.
Pipeline Execution (via /build-prompt)
When the prompt-pipeline-runner agent executes the six-stage pipeline:
- Read this SKILL.md to discover the file manifest
- Execute stages in fixed order -- do NOT skip or reorder:
- Stage 1: Read
references/constitution.mdthenpipeline/constitutional-checklist.md - Stage 2: Read
pipeline/fallibilist-overlay.md - Stage 3: Read
references/epistemology.mdthenpipeline/epistemic-stance.md
- Stage 1: Read
Установить prompt-writer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(echo *)Bash(rp1 *)Вложенные файлы
FAQ
Что делает скилл prompt-writer?
Write maximally terse agent prompts from scratch. Use when creating agent specs, command prompts, or instruction sets with constitutional governance.
Как установить скилл prompt-writer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prompt-writer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic