Index of every page on this site: llms.txt
All skills
bacoco avatar

/openspec-change-proposal

@58378b1
by Baconnier Loicbacoco/bmad-skills67 stars
11
Run it yourself

Creates lightweight proposals for L0-1 work.

Use this Skill: https://skilld.dev/gh/bacoco/bmad-skills/openspec-change-proposal

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

REFERENCE.md

โ‰ˆ1.8k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Reference โ€” OpenSpec Propose

Lightweight templates, scoping heuristics, and approval checklists are captured here for deeper consultation.

OpenSpec Propose Skill

Source: OpenSpec by Fission-AI Reference: https://github.com/Fission-AI/OpenSpec Purpose: Create lightweight change proposals for simple features Workflow: Stage 1 - Creating Changes

๐ŸŽฏ When Claude Should Invoke This Skill

PROACTIVELY invoke this skill when you detect the user:

  • Wants to add a small feature to an existing project (Level 0-1)
  • Mentions a bug fix or simple enhancement
  • Says "add a...", "fix the...", "change the..." (simple modifications)
  • Needs to modify existing behavior (not create whole new product)
  • Wants something quick without full PRD/Architecture
  • Already has a codebase and wants incremental changes

DO NOT invoke for:

  • New products or complex features (use bmad-product-planning instead)
  • Level 2-4 projects requiring PRD/Architecture
  • Greenfield projects (use BMAD workflow)
  • When user explicitly asks for "complete planning"

OpenSpec Methodology

OpenSpec is a spec-driven development approach for simple changes:

  1. Draft a proposal - Capture what needs to change
  2. Review and refine - Iterate on specs until agreement
  3. Implement tasks - Write code following approved specs
  4. Archive and update - Merge changes back to specs

Key Principle: Agree on what to build BEFORE writing code (but lightweight, not heavy like BMAD)

Your Workflow: Stage 1 - Creating Changes

Step 1: Understand the Change Request

Ask clarifying questions:

  • What existing behavior needs to change?
  • What's the desired new behavior?
  • Are there any edge cases or constraints?
  • Is this breaking or non-breaking?

Step 2: Create Change Directory

Structure:

openspec/
  changes/
    [feature-name]/
      proposal.md       # Why, what, impact
      tasks.md          # Sequential checklist
      design.md         # Technical design (optional)
      specs/            # Delta specifications
        [spec-name].md  # ADDED/MODIFIED/REMOVED changes

Step 3: Write proposal.md

Template:

# Proposal: [Feature Name]

## Why

[Problem statement - why is this change needed?]

## What

[Clear description of the proposed change]

### Success Criteria

- [ ] Criterion 1
- [ ] Criterion 2

## Impact

**Breaking Changes**: Yes/No
**Affected Components**: [List]
**Dependencies**: [Any new dependencies needed]

## Alternatives Considered

[Other approaches you considered and why you chose this one]

Step 4: Write tasks.md

Sequential, actionable tasks:

# Implementation Tasks

- [ ] Task 1: [Specific, testable action]
- [ ] Task 2: [Next specific action]
- [ ] Task 3: [Write tests for X]
- [ ] Task 4: [Update documentation]

Rules:

  • Each task = one concrete action
  • Order tasks sequentially (do this, then this)
  • Include test tasks
  • Include documentation tasks

Step 5: Write Delta Specs (Optional but Recommended)

Create specs/[component-name].md with deltas:

# [Component Name] Specification

## ADDED

### Requirement: New Behavior X
SHALL do Y when Z happens.

#### Scenario: Happy Path
GIVEN user does A
WHEN they trigger B
THEN system responds with C

## MODIFIED

### Requirement: Updated Behavior (was: Old Requirement)
SHALL now do Y2 instead of Y1.

#### Scenario: Updated Flow
[New expected behavior]

## REMOVED

### Requirement: Deprecated Feature
[What's being removed and why]

Delta Operations:

  • ADDED - New requirements/scenarios
  • MODIFIED - Changed requirements (show old โ†’ new)
  • REMOVED - Deprecated/deleted requirements
  • RENAMED - Changed naming

Step 6: Write design.md (Optional)

For technical changes, include:

# Technical Design

## Architecture Changes

[How does this fit into existing architecture?]

## Data Model Changes

[Any DB schema changes, API changes, etc.]

## Implementation Approach

[High-level approach to implementation]

## Testing Strategy

[How will this be tested?]

Step 7: Present to User

Show:

  1. Summary of the proposal
  2. List of tasks
  3. Ask for approval before implementation

Template:

I've created an OpenSpec change proposal for [feature name]:

๐Ÿ“‹ Proposal: openspec/changes/[name]/proposal.md
  - Why: [1 sentence]
  - What: [1 sentence]
  - Impact: [Breaking/Non-breaking]

โœ… Tasks: openspec/changes/[name]/tasks.md
  - [X] tasks total
  - Includes implementation, tests, docs

Would you like me to:
1. Refine the proposal?
2. Proceed to implementation (openspec-change-implementation)?
3. Make changes to the scope?

When to Skip Proposal

Skip proposal creation for:

  • Typo fixes
  • Obvious bug fixes (one-liner changes)
  • Non-breaking dependency updates
  • Documentation-only changes

For these, go straight to implementation.

Critical Rules

Formatting Requirements

  • Scenarios MUST use #### Scenario: (four hashtags)
  • Every requirement MUST have at least one scenario
  • Use normative language: SHALL, MUST, SHOULD, MAY
  • Delta operations: ADDED, MODIFIED, REMOVED, RENAMED

Approval Gate

โš ๏ธ DO NOT implement until proposal is reviewed and approved by user

Ask explicitly:

Is this proposal approved? Should I proceed with implementation?

Example: Add Profile Search Filters

User Request: "Add search filters to the profile page"

Your Response:

  1. Ask clarifying questions:

    • What fields should be filterable? (name, location, skills, etc.)
    • Should filters persist across sessions?
    • Any performance constraints?
  2. Create proposal in openspec/changes/profile-search-filters/:

    • proposal.md: Why (better UX), What (add filter UI), Impact (non-breaking)
    • tasks.md:
      • Add filter component to profile page
      • Implement filter logic in search service
      • Add tests for filter combinations
      • Update profile page documentation
    • specs/profile-search.md: ADDED requirements for filter behavior
  3. Present for approval:

    I've created a proposal for profile search filters:
    
    ๐Ÿ“‹ Why: Users need to quickly find profiles matching criteria
    ๐Ÿ“‹ What: Add filterable search UI with name/location/skills filters
    ๐Ÿ“‹ Impact: Non-breaking, adds new feature
    
    โœ… 4 tasks: UI component, search logic, tests, docs
    
    Approve to proceed with implementation?

File Locations

All changes go in:

openspec/changes/[feature-name]/

NOT in root or docs/ - keep isolated until archived.

Next Steps

After proposal is approved:

  • User says "implement" or "proceed" โ†’ Invoke openspec-change-implementation skill
  • User wants changes โ†’ Refine proposal.md and tasks.md
  • User rejects โ†’ Discuss alternative approaches

Communication Style

  • Concise and actionable - OpenSpec is lightweight, not verbose
  • Show file locations - Always cite where files are created
  • Seek approval explicitly - Don't assume, ask
  • Focus on delta - What's changing, not restating everything

Remember: OpenSpec is for SIMPLE changes. If the user's request grows complex (multiple epics, new product, architecture decisions), recommend switching to BMAD workflow instead.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert8mo4 checks ยท Risk HIGH
  • Gen Agent Trust Hub9mo

    The skill automates change proposal creation but is vulnerable to Indirect Prompt Injection. It processes untrusted user-provided descriptions (bug fixes, change requests) without using boundary markers or input sanitization, while possessing high-impact tool access including file writing and bash execution.

  • Socket8mo

    No alerts

  • Snyk9mo

    Risk: LOW ยท No issues

  • Runlayer9mo

    5/5 files flagged

Signed by skilld at 58378b1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated last year
What it can do
Reads files Edits files Runs commands
All 4 allowed tools
ReadWriteGrepBash
Other metadata
metadata
{
  "auto-invoke": true,
  "triggers": {
    "patterns": [
      "fix bug",
      "small change",
      "quick feature",
      "simple fix",
      "minor update"
    ],
    "keywords": [
      "bug",
      "fix",
      "small",
      "quick",
      "simple",
      "minor",
      "lightweight"
    ]
  },
  "capabilities": [
    "proposal-creation",
    "change-scoping",
    "task-definition",
    "lightweight-planning"
  ],
  "prerequisites": [],
  "outputs": [
    "proposal",
    "tasks",
    "spec-delta"
  ]
}

README badge

README badge for bacoco/bmad-skills/openspec-change-proposal