skill-design-lineage
FeaturedPersist design documents with branch tracking, revision chains, and cross-session discovery
AI & Automation 4,061 stars
380 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Design Document Lineage
## Overview
Persist design documents from brainstorming and planning sessions with branch tracking, revision chains, and cross-session discoverability. Design docs are immutable after creation -- new revisions supersede prior versions rather than editing in place.
---
## Storage Location
All design documents are stored under:
```
~/.claude-octopus/designs/<project-slug>/
```
The project slug is derived from the current git repository name or working directory basename:
```bash
SLUG=$(basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)")
DESIGNS_DIR="${HOME}/.claude-octopus/designs/${SLUG}"
mkdir -p "$DESIGNS_DIR"
```
---
## Filename Format
Design documents follow a strict naming convention:
```
{user}-{branch}-design-{datetime}.md
```
Where:
- `{user}` -- the current OS username (`$USER` or `whoami`)
- `{branch}` -- the current git branch, sanitized (slashes replaced with dashes)
- `{datetime}` -- ISO 8601 compact timestamp (`YYYYMMDD-HHmmss`)
Example:
```
chris-feature-auth-refactor-design-20260321-143022.md
```
Resolution:
```bash
BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null | tr '/' '-' || echo "no-branch")
DATETIME=$(date -u +"%Y%m%d-%H%M%S")
FILENAME="${USER}-${BRANCH}-design-${DATETIME}.md"
```
---
## Design Document Template
Each design document contains YAML frontmatter followed by structured sections.
### Frontmatter Metadata
```yaml
---
branch: feature/auth-refactor
user: chris
created: 2026-03-21T14:30...
Details
- Author
- nyldn
- Repository
- nyldn/claude-octopus
- Created
- 7 months ago
- Last Updated
- today
- Language
- Shell
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
Web & Frontend Listed
design
Create or update Design.md — how the pipeline is built, stage by stage.
1 Updated 1 months ago
CUTEPKQ AI & Automation Listed
design-md
Create and maintain a per-project DESIGN.md that pins the ONE visual direction so UI stays consistent across sessions and screens. Use when starting UI on a project, when look feels inconsistent, or the user mentions design system / DESIGN.md / visual guidelines.
2 Updated 4 days ago
CodeWithJuber AI & Automation Listed
design-md-workflow
Read, create, maintain and verify a project's durable DESIGN.md visual-identity contract when persistent design tokens and rationale would materially improve multi-session frontend/design consistency.
3 Updated today
marcmarti9