/bellosoft-default-skills:bellosoft-plan-epicfrom bellosoft-default-skills
Use this skill to decompose a single epic into stories and atomic tasks, OR to repair an already-pushed epic whose tasks have missing/weak acceptance criteria. Triggers: /bellosoft-plan-epic E1, /bellosoft-plan-epic E3, "break down epic 2", "create stories for E1", "decompose E3 into tasks", "fix E5 tasks", "re-decompose E5", "E5 tasks are missing ACs", "repair epic tasks in Jira". Requires /bellosoft-plan-epics to have been run first (reads docs/planning-artifacts/epics.md). Works on ONE epic at a time.
Ships in bellosoft-default-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Take one approved epic from the register and decompose it into stories and atomic tasks — with area tags, hour estimates, acceptance criteria, and dependencies. You decide which epic to decompose and when.
/bellosoft-plan-epic E1 ← decompose epic E1
/bellosoft-plan-epic E3 ← decompose epic E3 (later, different week)
/bellosoft-plan-epic E2 redo ← re-decompose E2 after PRD changes (start from scratch)
/bellosoft-plan-epic E5 fix ← repair existing tasks (missing ACs, bad estimates, gaps vs PRD)
Use
fixwhen the epic is already in the tracker but tasks are incomplete. Useredowhen the PRD changed and you want a completely fresh decomposition.
Before any push operation, check if tracker is already configured:
docs/planning-artifacts/status.md contains tracker: → skip this step entirely.claude/skills/bellosoft-jira/references/tracker-bootstrap.mdThis step runs silently when re-running on an already-configured project.
docs/planning-artifacts/epics.md — get the target epic definitiondocs/planning-artifacts/status.md — check current state of that epicdocs/planning-artifacts/prd/index.md or, if available, docs/planning-artifacts/prd-source.md — for full contextdocs/planning-artifacts/codebase-audit.md — staleness check before usingIf docs/planning-artifacts/epics.md doesn't exist:
No epic register found. Please run /bellosoft-plan-epics first.
If the epic is already decomposed (status.md shows stories exist):
Epic E[N] already has stories created.
Options:
/bellosoft-plan-epic E[N] fix ← repair existing tasks (missing ACs, gaps vs PRD)
/bellosoft-plan-epic E[N] redo ← re-decompose from scratch (PRD changed)
/bellosoft-plan-epic E[N] add ← add more stories to existing epic
Tracker check — before decomposing, check whether stories already exist in Jira:
If tracker: jira (from docs/planning-artifacts/status.md):
# Delegate to bellosoft-jira:
/bellosoft-jira get [EPIC-KEY] ← then search stories linked to it
Four outcomes:
A) No tracker connected → proceed with local decomposition, push will be offered at the end.
B) Tracker connected, no existing stories found → proceed with full decomposition.
C) Tracker connected, stories exist → show them and ask:
Found N existing stories for this epic in [Jira]:
PROJ-42 — [title] — [state]
PROJ-43 — [title] — [state]
PROJ-44 — [title] — [state]
Options:
1. Import these — skip decomposition, pull stories into local plan (recommended)
2. Decompose anyway — I'll skip stories that match existing ones by title
3. Start fresh — ignore tracker stories, re-decompose from PRD (will create duplicates if pushed)
If option 1 → import the existing stories into docs/planning-artifacts/status.md, skip Steps 3-6, go straight to Step 8.
If option 2 → proceed with decomposition, flagging any story whose title closely matches an existing ticket.
D) Tracker connected, epic not found in tracker → note it:
ℹ️ Epic not yet pushed to tracker — will offer push after decomposition.
Audit staleness check — run before using the audit:
stat docs/planning-artifacts/codebase-audit.md 2>/dev/null
find . -newer docs/planning-artifacts/codebase-audit.md \
-not -path '*/.git/*' -not -path '*/node_modules/*' \
-not -path '*/bin/*' -not -path '*/obj/*' \
-not -path '*/docs/planning-artifacts/*' \
-name "*.cs" -o -name "*.ts" -o -name "*.vue" \
2>/dev/null | wc -l
No audit + this epic is 🔶 Continue or 🔁 Rework (per epics.md):
⚠️ This epic involves existing code but no audit exists.
I'll do a targeted read of the relevant modules now.
→ proceed to Step 2 targeted read.
Audit stale (> 14 days or > 20 files changed) + epic is 🔶/🔁:
⚠️ Audit is N days old with N files changed since.
For a 🔶 Continue epic this matters — I may plan tasks
for things already finished.
Options:
1. Re-run /bellosoft-audit-codebase first
2. Use stale audit + I'll do a targeted re-read of this epic's files
3. Use stale audit as-is
Which would you prefer?
If option 2 → load audit for conventions, but re-read the specific files for this epic to verify current implementation status.
Audit fresh OR epic is 🆕 Greenfield → load silently, proceed.
After loading, note the epic's starting point:
If docs/planning-artifacts/codebase-audit.md exists (preferred):
Read the relevant sections for this epic — Module Inventory, Conventions, Tech Debt.
Do NOT re-read the entire codebase — the audit already captured it.
Use the audit to:
If no audit exists: Do a targeted read of the relevant modules for this epic only:
Glob, Grep, Read)After reading, note what was found:
📂 Existing code found for this epic:
- `src/Services/CampaignService.cs` — Create/List implemented, Schedule method is a stub
- `src/Controllers/CampaignController.cs` — 3 endpoints working, 2 return empty Ok()
- `migrations/20251101_AddCampaigns.cs` — table exists, missing ScheduledAt column
- No tests found for campaign module
New work will extend these files, not replace them.
Raise ambiguities specific to THIS epic before decomposing:
## ❓ Open Questions — Epic E[N]: [Name]
1. [Question about a specific requirement in this epic]
2. [Question about integration or edge case]
Answer or "skip" to proceed with assumptions.
Epic (from register)
└── Story (vertical slice of user value — 3-10 days)
└── Task (atomic unit of work — 2-8 hours)
Depends on declared[BE] and [FE] taskIf the audit defined conventions, every task description MUST reference them:
ScheduleAsync(campaignId, runAt) to CampaignService.cs, following SendAsync pattern"If no audit exists, derive conventions from Step 2 findings.
Each task carries exactly one tag identifying its work domain:
| Tag | Scope |
|---|---|
[BE] | Everything backend: API endpoints, controllers, services, business logic, migrations, schema changes, middleware, DI config, .NET startup |
[FE] | Everything frontend: Vue components, views, composables, UI state (Pinia), responsive/mobile, PWA |
[DEVOPS] | Everything infrastructure: Docker, CI/CD, GitHub Actions, Nginx, Dokploy, env vars, secrets |
[QA] | One task per story when applicable — manual and human QA sign-off. NOT for writing tests (tests are written inside [BE]/[FE] tasks). The QA person verifies the full story end-to-end and marks it done. Not all stories need QA sign-off, as QA is only able to test things that are accessible from the client-side or from already implemented API endpoints |
Test writing rule: Unit, integration, and E2E tests are always included inside the [BE] or [FE] task that implements the feature — never as a separate task.
Every [BE] and [FE] task detail block MUST include Gherkin scenarios that serve as the test specification for the developer implementing it. These define what automated tests must cover:
| Aspect | Requirement |
|---|---|
| Happy path | One scenario covering the expected successful flow |
| Edge cases | At least one scenario covering a boundary, error, or unusual condition (null, empty, unauthorized, max values, overflow, etc.) |
| Manual-only flag | If a scenario is too complex to automate (requires human judgment, visual inspection, or interconnected parts with variable results) but quick to test manually, append 🔶 [manual test only] to its name. Developers skip writing automated tests and leave these for QA verification. |
Format:
Scenario: [short name] 🔶 [manual test only] (if applicable)
Given [preconditions]
When [action]
Then [expected outcome]
Rules:
Given/When/Then triplet (use And for additional conditions)Given user "admin" is logged in| Hours | What it means |
|---|---|
| 1-2h | Config, simple CRUD, single small component |
| 2-4h | Medium endpoint + validation, component with state, migration |
| 4-6h | Complex service, multi-step form, external API integration |
| 6-8h | Large feature slice, auth flow, complex query, data pipeline |
| >8h | ⚠️ Must be split |
# Epic E[N]: [Epic Name] — Story & Task Breakdown
**Epic goal:** [from register]
**Decomposed:** [today's date]
**Total estimate:** Xh | **Stories:** N | **Tasks:** N
---
## Assumptions
- [Any assumption made]
---
### Story [E1-S1]: [Story title — verb phrase from user perspective]
**As a** [persona], **I want** [action] **so that** [outcome].
**Estimate:** Xh | **Priority:** High
**Acceptance Criteria:**
- Given [context], when [action], then [result]
- Given [context], when [action], then [result]
#### Tasks
> **Title rule:** max ~60 characters — short action verb phrase only.
> All implementation specifics (file paths, method names, field lists) go in the **Description**, not the title.
| ID | Tag | Title (short) | Est | Depends on |
|----|-----|---------------|-----|------------|
| E1-S1-T1 | [BE] | [Short action phrase] | 3h | — |
| E1-S1-T2 | [FE] | [Short action phrase] | 3h | E1-S1-T1 |
| E1-S1-T3 | [QA] | QA: test [Story title] | 1h | E1-S1-T2 |
For each task, include a detail block immediately below the table row (in a sub-section when saving to file, or inline when pushing to tracker):
E1-S1-T1 [BE]
Title: Create Tenant entity
Description: Create Tenant.cs in Core/Entities/. Fields: Id (Guid), Name, Slug,
IsActive, CreatedAt, UpdatedAt. Pure POCO — no EF attributes, no base class.
AC: Tenant.cs compiles with no EF/Infrastructure references; all properties public get/set.
Test Scenarios:
- Given valid name and slug, when creating a Tenant, then all properties are set correctly
- Given empty slug, when creating a Tenant, then validation throws
- Given slug exceeds max length, when creating a Tenant, then validation throws
Estimate: 3h
Depends on: —
E1-S1-T2 [FE]
Title: Tenant settings form
Description: Add settings form component in src/views/Settings.vue. Binds to tenant
store. Uses existing Vuetify form patterns from ContactDetailView.
AC: Form saves successfully; validation errors shown inline.
Test Scenarios:
- Given valid form data, when user clicks Save, then tenant is updated and success message shown
- Given empty required field, when user clicks Save, then inline validation error displayed
- Given Redis connection failure, when user opens form, then tenant data should load from application's own database 🔶 [manual test only]
- Given network failure, when user clicks Save, then error toast shown and form data preserved
Estimate: 3h
Depends on: E1-S1-T1
E1-S1-T3 [QA] Title: QA: test tenant settings story Description: Manually verify all ACs for story E1-S1 end-to-end on staging. AC: QA confirmed: all story ACs pass, no regressions in related flows. Estimate: 1h Depends on: E1-S1-T2
---
### Story [E1-S2]: [Story title]
[... repeat ...]
---
## Sprint allocation for this epic
| Sprint | Stories | Estimate | Notes |
|--------|---------|----------|-------|
| Sprint N | E1-S1, E1-S2 | Xh | [rationale] |
| Sprint N+1 | E1-S3 | Xh | [rationale] |
## Tag summary for this epic
| Tag | Tasks | Hours |
|-----|-------|-------|
| [BE] | N | Xh |
| [FE] | N | Xh |
| [DEVOPS] | N | Xh |
| [QA] | N (1 per story) | Xh |
| **Total** | **N** | **Xh** |
## Dependency graph (critical path)
E1-S1-T1 [BE] → E1-S1-T2 [FE] → E1-S1-T3 [QA]
[...]
## Risk register
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|------------|
| [Risk] | Med | High | [Mitigation] |
---
E[N] decomposed: N stories, N tasks, ~Xh.
Reply with:
✅ approve — save + proceed to push options
✏️ [feedback] — adjust stories or tasks
🔀 re-estimate — redo estimates only
➕ add story: [desc] — add a missing story
❌ cancel
After approval, ask:
Where would you like to push E[N]?
1. Jira
2. Markdown only — I'll create tickets manually
Delegate ALL Jira operations to /bellosoft-jira in strict order.
Do NOT call Atlassian MCP tools directly — bellosoft-jira handles ADF format,
custom field discovery, project type detection, and error handling.
1. /bellosoft-jira create-sprint "[Sprint name]" [start_date] [end_date]
→ returns sprint_id
2. /bellosoft-jira create-epic [E_number] "[title]" "[description]"
→ returns epic_key (e.g. PROJ-5)
3. For each Story:
/bellosoft-jira create-story [story_id] "[title]" [user_story] [ACs...]
epic_key=[epic_key] sprint_id=[sprint_id] estimate=[Xh] priority=[High|Medium|Low]
⚠️ estimate=[Xh] must equal the sum of all subtask estimates. This sets the story's originalEstimate in Jira.
→ returns story_key (e.g. PROJ-12)
4. For each Task under that Story:
/bellosoft-jira create-task [task_id] "[title]" "[AC]"
parent_story_key=[story_key] estimate=[Xh] area_tag=[TAG]
(task_id = e.g. E1-S1-T1; title = clean description WITHOUT the tag; area_tag = BE|FE|DEVOPS|QA)
bellosoft-jira assembles the Jira summary as: {task_id} [{area_tag}] {title}
Each task's estimate=[Xh] sets its own originalEstimate in Jira.
✅ Created: N items
❌ Failed: N — markdown for manual creation:
[markdown for failed items]
After push (or approval if markdown-only), update docs/planning-artifacts/status.md:
| E1: [name] | ✅ Decomposed | 4 stories, 18 tasks | Jira (2026-06-02) |
Output:
✅ Epic E[N] done. docs/planning-artifacts/status.md updated.
Other epics not yet decomposed:
/bellosoft-plan-epic E2 ← do this now or next week
/bellosoft-plan-epic E3 ← do this when E2 is delivered
To add bugs or unplanned work: /bellosoft-plan-adhoc
To re-read the PRD after changes: /bellosoft-plan-epics
Triggered by: /bellosoft-plan-epic E[N] fix
Use when the epic is already in the tracker but tasks have weak or missing acceptance criteria, wrong estimates, or are missing coverage for PRD requirements.
Read docs/planning-artifacts/status.md to find all Jira keys for this epic:
grep "jira_epic_E5\|jira_story_5\." docs/planning-artifacts/status.md
Then delegate to bellosoft-jira get [EPIC-KEY] to fetch all sub-tasks with their
current summaries and descriptions.
Read docs/planning-artifacts/prd.md. Find the Functional Requirements section that
maps to Epic E[N] (use the coverage map in docs/planning-artifacts/epics.md).
List the FRs this epic covers — these are the ground truth.
Read docs/planning-artifacts/codebase-audit.md. Find the module entries for this
epic's feature area. Note: what is already implemented, what is stubbed, what is missing.
Compare existing sub-tasks against the PRD FRs:
Gap Analysis — Epic E[N]
Existing sub-tasks: N
PRD FRs covered by this epic: N
✅ Good tasks (has AC, correct estimate):
[PROJ-XX] E[N]-S1-T1 [FE] ...
⚠️ Weak tasks (missing or vague AC):
[PROJ-XX] E[N]-S2-T1 [BE] ... — no acceptance criterion
[PROJ-XX] E[N]-S2-T2 [FE] ... — description is a plain string, not ADF
❌ Uncovered FRs (no task exists):
FR-42: ...
FR-43: ...
🔀 Tasks to split (>8h or covering multiple FRs):
[PROJ-XX] E[N]-S3-T1 — covers FR-10 and FR-11, should be two tasks
Show a full repair plan:
Present the plan for approval exactly like Step 6 (approval gate) in the main flow.
For each existing task that needs updating:
→ bellosoft-jira update [PROJ-XX] description={new ADF} summary={new summary}
For each new task:
→ bellosoft-jira create-task ... parent_story_key=[PROJ-YY]
Update docs/planning-artifacts/status.md with any new task keys.
Report:
✅ FIX complete — Epic E[N]
Updated: N tasks
Created: N new tasks
Unchanged: N tasks (already good)
Always save the approved decomposition to:
docs/planning-artifacts/epic-plans/E{N}-plan.md
Create the epic-plans/ directory if it doesn't exist. Never save to a project-specific name
like epic-E4-redecomposition.md — use the standard path so other skills can find it.
fix mode never deletes existing tasks — only updates or addsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bellosoft-limited/bellosoft-default-skills --plugin bellosoft-default-skills29 skills in this plugin
/ckm:banner-designDesign banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills./bellosoft-audit-codebaseUse this skill to analyse an existing codebase before planning. Triggers: /bellosoft-audit-codebase, "read the project", "understand what's built", "what already exists", "analyse the code", "what's implemented", "map the codebase". Produces a structured inventory of what is already built, what is partial, what is missing, and what technical patterns are in use. Saves the result to docs/planning-artifacts/codebase-audit.md so bellosoft-plan-epics and bellosoft-plan-epic can use it. Run this before /bellosoft-plan-epics on any existing project. Safe to re-run — detects changes since last audit.
/bellosoft-dev-executeExecutes a plan approved and saved by /bellosoft-dev-plan (docs/planning-artifacts/dev-plans/*.md). Use this skill when the user types /bellosoft-dev-execute [plan path], ideally in a new context window. Follows strict TDD: writes ALL test cases first, confirms they fail, then implements the code to make them pass, one step at a time. Never skip the red-phase. Do NOT invoke on general coding tasks or without an approved plan.