Specification-Driven Storytelling Framework
Inkspec applies software engineering discipline to fiction writing. Story specifications are the single source of truth, ensuring plot consistency, character authenticity, and thematic coherence throughout the creative process.
Inkspec is a collaborative fiction writing framework that uses a spec-first workflow to prevent plot holes, maintain character consistency, and track story development with the same rigor as software projects.
- Spec-First: Define characters, plot, and world-building through structured requirements before writing prose
- Traceability: Every scene, dialogue, and character action traces back to approved specifications
- Consistency: Story specifications are the single source of truth
- Collaboration: Designed for human authors working with AI assistants
- Specification-Driven Storytelling (SDS): Three-phase workflow from discovery to published prose
- OpenSpec Integration: Change management and version control for story development
- AI-Assisted Writing: Configured for Claude Code with mandatory confirmation gates
- Structured Requirements: Character profiles, plot outlines, scene specifications, and world-building docs
- Mobile Idea Capture: Simple inbox system for capturing inspiration on-the-go
- Clarify central conflict, protagonist goals, themes, and structure
- Create comprehensive story specification
- Define character profiles, plot structure, setting, and style guidelines
- Get author approval before proceeding
- Create detailed scene outlines with purpose, goals, conflict, and sensory details
- Draft scenes according to approved outlines
- Maintain consistency with character voices and story world
- Verify story consistency with specifications
- Implement author feedback while maintaining story integrity
- Merge to main manuscript only after final approval
- Claude Code
- OpenSpec CLI (bundled)
- Git (for version control)
- Clone this repository:
git clone https://github.com/openmoto/inkspec.git
cd inkspec- Open in Claude Code:
claude-code .- Start your first story:
Ask Claude: "Let's start a new story following the SDS protocol"
inkspec/
├── .claude/ # Claude Code configuration
│ └── commands/ # Custom slash commands
├── openspec/ # OpenSpec framework
│ ├── AGENTS.md # OpenSpec workflow instructions
│ ├── project.md # Project conventions
│ ├── specs/ # Implemented story capabilities
│ └── changes/ # Active and archived proposals
├── docs/ # Story specifications
│ └── story-spec/
│ ├── premise/ # Story premises (PR-###)
│ ├── characters/ # Character profiles (CH-###)
│ ├── scenes/ # Scene outlines (SC-###)
│ └── world/ # World-building (WB-###)
├── inbox/ # Mobile idea capture
│ ├── ideas/ # Raw ideas from mobile
│ └── processed/ # Converted to specs
├── manuscript/ # Final prose output
├── 00_spec_driven_storytelling_protocol.md
├── CLAUDE.md # AI assistant instructions
└── README.md # This file
/openspec:proposal- Create a new story change proposal/openspec:apply- Implement an approved change/openspec:archive- Archive completed story work
- SDS Protocol - The complete methodology
- OpenSpec Guide - Change management workflow
- Claude Instructions - AI assistant configuration
- Premises:
PR-###_story_title.md - Characters:
CH-###_character_name.md - Scenes:
SC-###_scene_description.md - World:
WB-###_world_element.md
story/[IssueNum]-SC-###-scene-descriptionrevision/[IssueNum]-CH-###-character-development
scene(SC-101): add opening confrontation scenecharacter(CH-205): develop protagonist's backstory revealrevision(SC-101): strengthen dialogue and conflict
- Never write prose without approved specifications
- Story specification is the single source of truth
- Character consistency is mandatory
- Show, don't tell
- Collaborative partnership between author and AI
Inspiration doesn't wait for you to be at your desk. The Inkspec Inbox lets you capture ideas anywhere:
- Use any notes app that syncs to your computer (Apple Notes, Google Keep, Notion, etc.)
- Create a file:
inbox/ideas/2025-01-15.md(or just usequick-notes.md) - Jot down whatever comes to mind - character ideas, dialogue, plot twists, world-building
- Later in Claude Code: "Review my inbox and help me process these ideas"
- Character ideas and personality traits
- Overheard dialogue that feels authentic
- Plot twists and story concepts
- World-building details and settings
- Scene atmospheres and sensory details
- Random creative thoughts
No formatting needed - just capture! Claude will help you convert raw ideas into proper specifications later.
See inbox/README.md for the complete workflow.
Create proposals for:
- New story arcs or major plot developments
- Character arc changes or additions
- World-building that affects multiple scenes
- Breaking changes to established canon
Skip proposals for:
- Minor dialogue revisions
- Typo fixes
- Formatting changes
- Scene polish that doesn't change plot or character
This is a framework for personal or collaborative fiction writing. Feel free to fork and adapt to your own creative process.
[Choose your license - MIT, Creative Commons, etc.]
- Built with Claude Code
- Powered by OpenSpec
- Inspired by Test-Driven Development and Spec-Driven Development methodologies
Write with discipline. Create with confidence.