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.
- License 许可
- MIT
- 最近更新
- 2026-04-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- constitutional-writer
- license
- MIT
- description
- 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.
02 资源文件 5
- 资产文件assets/constitution-template.md1.1 KB
- 参考文档references/constitutional-frameworks.md3.2 KB
- 脚本scripts/extract_constitution.py5.6 KB
- 参考文档skill-report.json8.0 KB
- 参考文档test-document.md1.2 KB
03 SKILL.md 正文
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
- Document Analysis: Read and analyze the provided document for constitutional elements
- Content Extraction: Identify and extract:
- Mission statements and purpose
- Core values and principles
- Vision statements
- Governance structures
- Decision-making processes
- Quality standards
- Cultural guidelines
- 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
- Read the document thoroughly
- 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
- Use
- Organize by category - Group similar content
- Remove duplicates - Consolidate overlapping statements
- Format as constitution - Present in standard constitution format
Constitution Format
# [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
readtool for text files - Use
pdfskill for PDF documents - Use
docxskill for Word documents - Use
xlsxskill 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.
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
vue-testing-best-practices
Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
vue-router-best-practices
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
vue-pinia-best-practices
Pinia stores, state management patterns, store setup, and reactivity with stores.
vue-options-api-best-practices
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
vue-development-guides
A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.