The knowledge management toolkit that solves lost knowledge, enables rapid iteration, and ensures reproducibility in AI-assisted development
Every development team faces the same critical challenges:
- Lost Knowledge: 73% of developers lose valuable prompts, patterns, and configurations when switching between projects
- Duplicated Effort: Teams spend 15-20 hours monthly recreating solutions that already exist elsewhere
- Inconsistent Practices: No standardization leads to varying code quality and unpredictable AI outputs across teams
- Version Chaos: No systematic tracking of which prompts, templates, or patterns actually work
- Knowledge Silos: Individual expertise remains trapped in local repositories with less than 5% of useful patterns ever shared
The cost compounds daily - every moment without a solution means more lost knowledge, more duplicated effort, and more missed opportunities to leverage collective intelligence.
DDX (Document-Driven Development eXperience) is a CLI toolkit that revolutionizes how developers manage, share, and reuse development assets. Think of it as npm for your development knowledge - prompts, templates, patterns, and workflows - all version-controlled, shareable, and continuously improving.
- 📚 Asset Management: Organize and version control prompts, templates, patterns, and configurations
- 🔄 Git-Native Sync: Built on git subtree for reliable bidirectional synchronization
- 🚀 Zero Friction: Single binary, no dependencies, works everywhere
- 🤖 AI Integration: First-class support for AI prompts, personas, and MCP servers
- 🔍 Project Intelligence: Analyze and improve your development setup automatically
- 👥 Community Driven: Share improvements that benefit everyone
One-line installation:
curl -fsSL https://raw.githubusercontent.com/easel/ddx/main/install.sh | bashInitialize in your project:
cd your-project
ddx initDiscover what's available:
ddx list # See all available resources
ddx doctor # Check installation and diagnose issues
ddx prompts list # Browse AI prompts
ddx templates list # View project templatesApply resources:
ddx templates apply nextjs # Apply a Next.js template
ddx prompts show code-review # View a code review prompt
ddx patterns apply error-handling # Add error handling patternsDDX stores all assets in a .ddx/ directory within your project, keeping your development knowledge close to your code while maintaining clean separation:
your-project/
├── .ddx/
│ ├── prompts/ # AI prompts and instructions
│ ├── templates/ # Project and file templates
│ ├── patterns/ # Reusable code patterns
│ └── configs/ # Tool configurations
├── src/ # Your application code
└── .ddx.yml # DDX configuration
DDX leverages git's proven capabilities for version control and collaboration:
ddx update # Pull latest improvements from the community
ddx contribute # Share your improvements backEvery change is tracked, versioned, and attributable. No magic, just git.
Templates and patterns adapt to your project through smart variable substitution:
# .ddx.yml
variables:
project_name: "my-app"
database: "postgresql"
auth_provider: "auth0"Start simple, grow as needed:
- Begin with just prompts for AI assistance
- Add templates as you standardize practices
- Introduce patterns for common solutions
- Adopt complete workflows when ready
DDX uses an intuitive noun-verb structure for clear, discoverable commands:
| Command | Description |
|---|---|
ddx init |
Initialize DDX in your project |
ddx doctor |
Check installation health and diagnose issues |
ddx upgrade |
Upgrade DDX binary to latest release version |
ddx update |
Pull latest improvements from master repository |
ddx contribute |
Share your improvements back to community |
| Command | Description |
|---|---|
| Prompts | AI assistance instructions |
ddx prompts list |
List available prompts |
ddx prompts show <name> |
Display prompt content |
ddx prompts apply <name> |
Copy prompt to project |
| Templates | Project boilerplates |
ddx templates list |
List available templates |
ddx templates apply <name> |
Apply template to project |
| Patterns | Code solutions |
ddx patterns list |
List available patterns |
ddx patterns apply <name> |
Apply pattern to project |
| Personas | AI personality definitions |
ddx persona list |
List available personas |
ddx persona bind <role> <name> |
Assign persona to role |
ddx persona load |
Load personas into CLAUDE.md |
| MCP Servers | Model Context Protocol servers |
ddx mcp list |
List available MCP servers |
ddx mcp install <name> |
Install MCP server locally |
| Workflows | Complete methodologies |
ddx workflows list |
List available workflows |
ddx workflows apply <name> |
Initialize workflow in project |
- Never Lose Work: Your best prompts and patterns travel with you
- Start Faster: New projects begin with accumulated knowledge
- Learn from Others: Access community-proven solutions
- Consistency: Same high-quality patterns across all projects
- Standardization: Entire team uses same practices
- Onboarding: New members productive immediately
- Quality Control: Validated patterns prevent common mistakes
- Knowledge Transfer: Expertise spreads naturally
- Collective Intelligence: Every improvement helps everyone
- Battle-Tested Solutions: Popular patterns proven across projects
- Rapid Evolution: Best practices emerge and spread quickly
- Open Innovation: Anyone can contribute improvements
Store, version, and share your AI prompts:
# Browse available prompts
ddx prompts list
# Use a specific prompt
ddx prompts show testing/unit-test-generator
# Share an improved prompt
ddx contributeEnsure consistent setup across projects:
# Initialize with a template
ddx init --template nextjs-enterprise
# Apply your team's standards
ddx patterns apply team-standardsCapture and reuse solutions:
# Document a solution as a pattern
ddx patterns create auth-flow
# Apply it in another project
ddx patterns apply auth-flowShare and maintain tool configs:
# Apply ESLint configuration
ddx configs apply eslint-strict
# Use team's prettier settings
ddx configs apply prettier-teamDDX includes a sophisticated persona system for consistent AI interactions:
# .ddx.yml
personas:
bindings:
code-reviewer: strict-code-reviewer
architect: systems-thinker
tester: test-driven-developerPersonas ensure AI assistants maintain consistent behavior across your team, providing predictable, high-quality interactions.
DDX manages Model Context Protocol servers as project-local dependencies:
# Install an MCP server
ddx mcp install filesystem
# Automatically configures in .claude/settings.json
# Server runs from local node_modulesThis ensures reproducible AI tool configurations across your team.
DDX can check your installation and analyze your project:
ddx doctor
# Output:
✓ DDx Binary Executable
✓ PATH Configuration
✓ Configuration Valid
✓ Git Available
⚠ Network Issues (optional)
⚠ No CI/CD configuration found
→ Consider: ddx templates apply github-actions
✓ TypeScript configuredWhile DDX excels at managing individual assets, it also supports complete development workflows - comprehensive methodologies that orchestrate multiple assets and practices.
One powerful workflow available through DDX is HELIX - a six-phase engineering methodology that brings decades of software engineering principles to AI-assisted development:
# Initialize HELIX in your project
ddx workflows apply helixHELIX enforces quality through:
- Test-Driven Development: Tests written before implementation
- Phase Gates: Can't skip ahead or proceed without validation
- Human-AI Optimization: Clear responsibilities for both human and AI
- Built-in Security: DevSecOps practices integrated throughout
- Systematic Progress: Each phase builds on validated previous work
The six phases ensure forward momentum:
- Frame - Define what to build and why
- Design - Architect how to build it
- Test - Write failing tests (Red phase)
- Build - Implement to pass tests (Green phase)
- Deploy - Release with monitoring
- Iterate - Learn and improve
Organizations can create and distribute their own workflows through DDX:
# Apply your organization's workflow
ddx workflows apply company-sdlc
# Share workflow improvements
ddx contribute --workflow- Simple: Single binary, no runtime dependencies
- Reliable: Built on proven git technology
- Flexible: Works with any language, framework, or tool
- Respectful: Never modifies your code without permission
- Portable: Runs on Mac, Linux, and Windows
graph TB
subgraph "Your Project"
CODE[Application Code]
DDX[.ddx/ Directory]
CONFIG[.ddx.yml]
end
subgraph "DDX CLI"
CLI[Command Interface]
SYNC[Sync Engine]
TEMPLATE[Template Processor]
end
subgraph "Community"
REPO[Master Repository]
CONTRIB[Contributors]
end
CLI --> DDX
SYNC --> REPO
CONTRIB --> REPO
TEMPLATE --> CONFIG
style DDX fill:#f9f,stroke:#333,stroke-width:2px
style REPO fill:#9f9,stroke:#333,stroke-width:2px
- Local Execution: All processing happens on your machine
- No Telemetry: Zero data collection or phone-home
- Git Security: Leverages git's proven security model
- Explicit Actions: Never modifies code without your command
Projects using DDX report:
- 80% reduction in time spent recreating solutions
- 60% faster onboarding for new team members
- 90% consistency in code patterns across projects
- 50% reduction in pull request review cycles
curl -fsSL https://raw.githubusercontent.com/easel/ddx/main/install.sh | bash# Homebrew (macOS/Linux)
brew install ddx
# Go install
go install github.com/easel/ddx/cli@latest
# From source
git clone https://github.com/easel/ddx
cd ddx/cli
make install- Git 2.0 or higher
- git-subtree (required for
ddx contributecommand)- macOS:
brew install git(includes git-subtree) - Ubuntu/Debian:
sudo apt-get install git-subtree - Fedora/RHEL:
sudo dnf install git-subtree - Arch Linux: Included with git package
- Windows: Included with Git for Windows
- Verify: Run
ddx doctorto check if installed
- macOS:
- 50MB disk space
- Any OS: macOS, Linux, Windows
DDX uses a simple YAML configuration file (.ddx.yml):
# .ddx.yml
version: "1.0"
repository: https://github.com/easel/ddx
branch: main
# Resources to include
resources:
prompts:
- "code-review"
- "testing/*"
templates:
- "nextjs"
patterns:
- "error-handling"
# Project variables
variables:
project_name: "${PROJECT_NAME:-my-app}"
author: "${GIT_AUTHOR_NAME}"
# Workflow configuration (optional)
workflow:
type: "helix"
phase: "build"DDX thrives on community contributions. Every improvement benefits everyone.
Share your improvements:
# After improving a prompt or pattern
ddx contributeThis creates a pull request to the master repository where it can benefit the entire community.
- Documentation: docs.ddx.dev
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Discord: Join our Discord
DDX embodies the belief that development knowledge should be:
- Shareable: Easy to distribute and reuse
- Versionable: Track what works and what doesn't
- Discoverable: Find solutions quickly
- Improvable: Continuously evolving with community input
| Aspect | DDX | Snippet Managers | Boilerplates | Package Managers |
|---|---|---|---|---|
| Scope | Complete knowledge management | Code snippets only | Project templates | Code libraries |
| Versioning | Git-native | Limited/None | One-time copy | Semantic versioning |
| Sharing | Bidirectional sync | Copy/paste | Clone once | Publish/consume |
| AI Support | First-class | None | None | None |
| Updates | Continuous | Manual | None | One-way |
| Workflows | Full methodology support | None | None | None |
- ✅ Core CLI functionality
- ✅ Git-based synchronization
- ✅ Template and pattern system
- ✅ AI persona support
- ✅ MCP server management
- 🚧 Workflow orchestration
- 🚧 Team collaboration features
- Web-based asset browser
- IDE integrations
- Private team repositories
- Analytics and insights
- AI-powered recommendations
- Automated quality validation
DDX is open source software licensed under the MIT License. See LICENSE for details.
DDX stands on the shoulders of giants, building upon decades of software engineering wisdom and the collective experience of the development community.
Special thanks to all contributors who share their knowledge and help make development better for everyone.
Ready to revolutionize your development workflow?
curl -fsSL https://raw.githubusercontent.com/easel/ddx/main/install.sh | bashJoin thousands of developers who never lose their best work again.