Files
architecture/skills/vision/SKILL.md
Hugo Nijhuis 7406517cd9 refactor: migrate commands to user-invocable skills
Claude Code has unified commands into skills with the user-invocable
frontmatter field. This migration:

- Converts 20 commands to skills with user-invocable: true
- Consolidates docs into single writing-capabilities.md
- Rewrites capability-writing skill for unified model
- Updates CLAUDE.md, Makefile, and other references
- Removes commands/ directory

Skills now have two types:
- user-invocable: true - workflows users trigger with /name
- user-invocable: false - background knowledge auto-loaded

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 16:39:55 +01:00

5.9 KiB

name, description, model, argument-hint, user-invocable
name description model argument-hint user-invocable
vision View the product vision and goal progress. Manages vision.md and Gitea milestones. Use when viewing vision, managing goals, or when user says /vision. haiku
goals
true

Product Vision

@/.claude/skills/vision-management/SKILL.md @/.claude/skills/gitea/SKILL.md

This skill manages product-level vision. For organization-level vision, use /manifesto.

Architecture

Level Document Purpose Skill
Organization manifesto.md Who we are, shared personas, beliefs /manifesto
Product vision.md Product-specific personas, jobs, solution /vision
Goals Gitea milestones Measurable progress toward vision /vision goals

Product vision inherits from and extends the organization manifesto - it should never duplicate.

Manifesto Location

The manifesto lives in the sibling architecture repo:

org/
├── architecture/
│   └── manifesto.md    ← organization manifesto
├── product-a/
│   └── vision.md       ← extends ../architecture/manifesto.md
└── product-b/
    └── vision.md

Look for manifesto in this order:

  1. ./manifesto.md (if this IS the architecture repo)
  2. ../architecture/manifesto.md (sibling repo)

Process

  1. Load organization context: Find and read manifesto.md using the location rules above

    • Extract personas (Who We Serve)
    • Extract jobs to be done (What They're Trying to Achieve)
    • Extract guiding principles
    • Extract non-goals
    • If not found, warn and continue without inheritance context
  2. Check for product vision: Look for vision.md in the current repo root

  3. If no vision exists:

    • Show the organization manifesto summary

    • Ask if the user wants to create a product vision

    • Guide them through defining (with inheritance):

      Who This Product Serves

      • Show manifesto personas first
      • Ask: "Which personas does this product serve? How does it extend or specialize them?"
      • Product personas should reference org personas with product-specific context

      What They're Trying to Achieve

      • Show manifesto jobs first
      • Ask: "What product-specific jobs does this enable? How do they trace back to org jobs?"
      • Use a table format showing the connection

      The Problem

      • What pain points does this product solve?

      The Solution

      • How does this product address those jobs?

      Product Principles

      • Show manifesto principles first
      • Ask: "Any product-specific principles? These should extend, not duplicate."
      • Each principle should note what org principle it extends

      Product Non-Goals

      • Show manifesto non-goals first
      • Ask: "Any product-specific non-goals?"
      • Org non-goals apply automatically
    • Create vision.md with proper inheritance markers

    • Ask about initial goals, create as Gitea milestones

  4. If vision exists:

    • Display organization context summary
    • Display the product vision from vision.md
    • Validate inheritance (warn if vision duplicates rather than extends)
    • Show current milestones and their progress: tea milestones
    • Check if $1 specifies an action:
      • goals: Manage milestones (add, close, view progress)
    • If no action specified, just display the current state
  5. Managing Goals (milestones):

    # List milestones with progress
    tea milestones
    
    # Create a new goal
    tea milestones create --title "<goal>" --description "For: <persona>
    

Job: Success: "

View issues in a milestone

tea milestones issues

Close a completed goal

tea milestones close


## Vision Structure Template

```markdown
# Vision

This product vision builds on the [organization manifesto](../architecture/manifesto.md).

## Who This Product Serves

### [Persona Name]

[Product-specific description]

*Extends: [Org persona] (from manifesto)*

## What They're Trying to Achieve

These trace back to organization-level jobs:

| Product Job | Enables Org Job |
|-------------|-----------------|
| "[Product-specific job]" | "[Org job from manifesto]" |

## The Problem

[Pain points this product addresses]

## The Solution

[How this product solves those problems]

## Product Principles

These extend the organization's guiding principles:

### [Principle Name]

[Description]

*Extends: "[Org principle]"*

## Non-Goals

These extend the organization's non-goals:

- **[Non-goal].** [Explanation]

Output Format

## Organization Context

From manifesto.md:
- **Personas**: [list from manifesto]
- **Core beliefs**: [key beliefs]
- **Principles**: [list]

## Product: [Name]

### Who This Product Serves

- **[Persona 1]**: [Product-specific description]
  ↳ Extends: [Org persona]

### What They're Trying to Achieve

| Product Job | → Org Job |
|-------------|-----------|
| [job] | [org job it enables] |

### Vision Summary

[Problem/solution from vision.md]

### Goals (Milestones)

| Goal | For | Progress | Due |
|------|-----|----------|-----|
| [title] | [Persona] | 3/5 issues | [date] |

Inheritance Rules

  • Personas: Product personas extend org personas with product-specific context
  • Jobs: Product jobs trace back to org-level jobs (show the connection)
  • Beliefs: Inherited from manifesto, never duplicated in vision
  • Principles: Product adds specific principles that extend org principles
  • Non-Goals: Product adds its own; org non-goals apply automatically

Guidelines

  • Product vision builds on organization manifesto - extend, don't duplicate
  • Every product persona should reference which org persona it extends
  • Every product job should show which org job it enables
  • Product principles should note which org principle they extend
  • Use /manifesto for organization-level identity and beliefs
  • Use /vision for product-specific direction and goals