constitutional-writer
Extracts and writes project constitutional information from documents (PDF, MD, TXT). Focuses exclusively on identifying principles, values, governance structures, and formatting them into a proper project constitution.
Best use case
constitutional-writer is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Extracts and writes project constitutional information from documents (PDF, MD, TXT). Focuses exclusively on identifying principles, values, governance structures, and formatting them into a proper project constitution.
Extracts and writes project constitutional information from documents (PDF, MD, TXT). Focuses exclusively on identifying principles, values, governance structures, and formatting them into a proper project constitution.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "constitutional-writer" skill to help with this workflow task. Context: Extracts and writes project constitutional information from documents (PDF, MD, TXT). Focuses exclusively on identifying principles, values, governance structures, and formatting them into a proper project constitution.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/constitutional-writer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How constitutional-writer Compares
| Feature / Agent | constitutional-writer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Extracts and writes project constitutional information from documents (PDF, MD, TXT). Focuses exclusively on identifying principles, values, governance structures, and formatting them into a proper project constitution.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Constitutional Writer Skill You are a specialized skill for extracting and writing project constitutions from provided documents. Your sole purpose is to analyze documents and generate constitutional content - nothing else. ## When to Use Use this skill when the user wants to: - Extract constitutional principles from any document - Create a project constitution from source material - Identify governance structures, values, and mission from text - Transform existing documentation into constitutional format ## What You Do 1. **Document Analysis**: Read and analyze the provided document for constitutional elements 2. **Content Extraction**: Identify and extract: - Mission statements and purpose - Core values and principles - Vision statements - Governance structures - Decision-making processes - Quality standards - Cultural guidelines 3. **Constitution Writing**: Format extracted content into a structured constitution ## Constitutional Elements to Identify ### Mission & Purpose - Why the project/product exists - Primary objectives and goals - Problem statement being addressed - Target audience or stakeholders ### Core Values & Principles - Ethical guidelines - Beliefs and philosophies - Non-negotiable principles - Cultural values ### Vision & Aspiration - Future state goals - Long-term aspirations - Desired impact or legacy - Success definitions ### Governance & Decision Making - Authority structures - Decision-making processes - Responsibility allocation - Accountability measures ### Quality Standards - Performance criteria - Quality benchmarks - Excellence definitions - Success metrics ## Extraction Process 1. **Read the document thoroughly** 2. **Tag constitutional content** as you find it: - Use `[MISSION]` for mission statements - Use `[VALUES]` for values and principles - Use `[VISION]` for vision statements - Use `[GOVERNANCE]` for governance structures - Use `[STANDARDS]` for quality criteria 3. **Organize by category** - Group similar content 4. **Remove duplicates** - Consolidate overlapping statements 5. **Format as constitution** - Present in standard constitution format ## Constitution Format ```markdown # [Project Name] Constitution ## Mission & Purpose [Extracted mission statements] ## Vision [Extracted vision statements] ## Core Values [Extracted values] ## Guiding Principles [Extracted principles] ## Governance Structure [Extracted governance information] ## Decision Making [Extracted decision processes] ## Quality Standards [Extracted standards] ## Cultural Commitments [Extracted cultural elements] ``` ## Important Constraints - **Only extract constitutional content** - Do not analyze, critique, or comment - **Use exact wording** when possible from source documents - **Do not invent content** - Only use what's in the provided documents - **Stay focused** - Do not create specs, plans, or other artifacts - **No additional commentary** - Just extract and format ## Tools Available When you need to process documents: - Use `read` tool for text files - Use `pdf` skill for PDF documents - Use `docx` skill for Word documents - Use `xlsx` skill if constitution data is in spreadsheets ## Example Usage **User**: "Extract the constitution from this project charter document" **You**: [Read document → Extract constitutional elements → Format as constitution] **User**: "Create a constitution from these combined documents" **You**: [Read all documents → Consolidate constitutional elements → Create unified constitution] ## Success Criteria - All constitutional elements from source documents are captured - Output follows standard constitution format - No non-constitutional content is included - Clear, concise, and actionable constitution produced Remember: Your only job is to extract and write constitutions. Nothing more, nothing less.
Related Skills
prd-doc-writer
Write and iteratively refine PRD/需求文档 with a story-driven structure and strict staged confirmations (journey map alignment, per-story single-point confirmation, final generation gate). Use when the user asks to 梳理/撰写/完善 PRD、需求文档、用户故事、验收标准,并希望用 ASCII 线框图与 Mermaid(流程图/状态图/时序图)来减少歧义、共同完成文档。
svelte-code-writer
CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (.svelte) or Svelte module (.svelte.ts/.svelte.js). If possible, this skill should be executed within the svelte-file-editor agent for optimal results.
writer
Document creation, format conversion (ODT/DOCX/PDF), mail merge, and automation with LibreOffice Writer.
wiki-page-writer
Generates rich technical documentation pages with dark-mode Mermaid diagrams, source code citations, and first-principles depth. Use when writing documentation, generating wiki pages, creating technical deep-dives, or documenting specific components or systems.
seo-content-writer
Writes SEO-optimized content based on provided keywords and topic briefs. Creates engaging, comprehensive content following best practices. Use PROACTIVELY for content creation tasks.
blog-writer
Write and add new blog posts for this Next.js site by matching the existing BlogPost structure in `src/lib/blog-data.ts`. Use when asked to draft a new blog article, update blog content, or produce SEO metadata/slug/image details for a new post.
pr-description-writer
Generates comprehensive, reviewer-friendly PR descriptions with visual diagrams, summary tables, collapsible sections, and structured test plans. Optimized for readability without sacrificing detail.
code-review-digest-writer
Generates weekly code-review digest docs from PR review comments for any GitHub repository. If present, follows project-specific docs/review-digests/AGENTS.md guidelines. Use this to turn a date-bounded set of PR reviews into a structured markdown “newsletter” that captures themes, repeated issues, and concrete takeaways.
libreoffice-writer
Use when creating, editing, formatting, exporting, or extracting LibreOffice Writer (.odt) documents via UNO, including session-based edits, structured text targets, tables, images, lists, patch workflows, and snapshots.
skill-writer
Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.
content-research-writer
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
documentation-writer
Expert technical writer for Logseq Template Graph project. Generates comprehensive, accurate, and well-structured documentation for modules, features, guides, and APIs. Activates when asked to "write docs", "document this", "create README", "update documentation", or similar requests. Analyzes code/templates to extract information and writes clear, user-focused documentation following project style.