Generate bounded, stakeholder-ready Epic and child Story/Task tickets (Jira, Linear, GitHub Issues) for Product Managers (PM) and Engineering Managers (EM) from an initial intention or grounded SDLC specs. USE THIS SKILL when the user mentions: create tickets, jira tickets, create epic, ticket template, draft epic, split into tickets, BE/FE tickets, intention ticket, sync tickets with proposal, or keeping PM/EM updated on a flow modification or new feature.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Create Tickets?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/faparicior-create-tickets)
---
name: create-tickets
description: >-
Generate bounded, stakeholder-ready Epic and child Story/Task tickets (Jira, Linear, GitHub Issues)
for Product Managers (PM) and Engineering Managers (EM) from an initial intention or grounded SDLC specs.
USE THIS SKILL when the user mentions: create tickets, jira tickets, create epic, ticket template,
draft epic, split into tickets, BE/FE tickets, intention ticket, sync tickets with proposal,
or keeping PM/EM updated on a flow modification or new feature.
disable-model-invocation: true
---
# PROTOCOL: CREATE-TICKETS (EXECUTION LEVEL 3)
<state_machine>
CURRENT_STEP -> REQUIRED_TOOL -> REQUIRED_OUTPUT -> MANDATORY_HALT
Step 0: Discover -> read_file (.sdlc/config.json, active docs) / tracker MCP-CLI -> Mode (`intake` vs `project`), existing ticket, strategy -> Continue to Step 1
Step 1: Ground/Extract -> read_file / grep (existing ticket, proposal.md, features/*) -> Bounded scope, slices (`S1..Sn`/`F01..Fn`), BE/FE map -> Continue to Step 2
Step 2: Generate -> read_file (templates/intention.md OR epic.md + story.md) -> Chat-ready ticket (intake) OR active/[change]/tickets.md -> Continue to Step 3
Step 3: Review Gate -> present tickets + sync instructions -> User review & Jira/tracker key sync prompt -> 🛑 HALT TURN (Wait for user)
Step 4: Sync Keys -> edit_file (tickets.md, proposal.md §9, domain-services A4) -> Recorded ticket keys (`PROJ-XXX`) across active docs -> END
</state_machine>
<execution_invariants>
1. WORKFLOW IMMUTABILITY: You may reason freely INSIDE each step to distill PM/EM-appropriate scope, acceptance criteria, and BE/FE boundaries, but you are strictly forbidden from skipping, reordering, or merging steps (`workflow structure = immutable | step reasoning = flexible`).
2. PROJECTION, NOT DUPLICATION (WITH STRICT DIAGRAM BUDGET): Living docs (`docs/product/bounded-contexts/`) and change specs (`working-on/active/[change]/`) remain the technical Single Source of Truth. Tickets MUST be concise, bounded projections for PM/EM visibility — never paste raw source code, file-by-file TDD phases, or internal DDD layer diagrams (`Controller -> Handler -> Aggregate -> Outbox`) into tickets. When `ticketing.diagrams` is `"mermaid"` (default), keep visuals strictly within the **Diagram Budget** (max 6–8 nodes in `flowchart LR`; max 3 actors `User`/`FE`/`BE` in `sequenceDiagram`); use `"N/A — linear change"` on trivial stories.
3. TEMPLATE LOCK: Reconstructing template headers or tables from internal memory is strictly forbidden. You MUST call `read_file` on:
- `templates/intention.md` before writing an **Intake Mode** brief, OR
- `templates/epic.md` AND `templates/story.md` before writing a **Project Mode** `tickets.md` file.
4. HONEST LAYER SPLITTING (`be-fe` vs `vertical`): Under `splitStrategy: "be-fe"`, only create both `[BE]` and `[FE]` tickets when a slice genuinely touches both layers. For BE-only or FE-only slices, emit only the applicable layer ticket — never invent empty placeholder tickets.
5. STOP GATES ARE ABSOLUTE (WITH EXPLICIT BATCH OVERRIDE): After producing the `intake` ticket or writing `tickets.md` in Step 2/3, you MUST halt your turn and wait for user review (and real tracker keys) before syncing keys into `proposal.md` or continuing to implementation — unless the user explicitly requested unattended/batch execution.
6. CLEAN REPO IN `intake` MODE & STRICT OUTPUT LOCATION:
- In **`intake` mode**, do **NOT** write files to the repository and do **NOT** create/switch git branches — the intention lives in the issue tracker (output ready-to-paste Markdown in chat, or update the tracker directly via CLI/MCP if available and confirmed by the user). Only write `docs/product/working-on/active/[change-name]/intention.md` if the user explicitly asks to persist it in git.
- In **`project` mode**, save ticketing projections exclusively under `docs/product/working-on/active/[change-name]/tickets.md` (honouring `.sdlc/config.json` overrides), NEVER inside `docs/product/bounded-contexts/`.
7. ESCAPE HATCH: If the situation does not fit the contract, do not silently improvise and do not force-fit: declare the deviation in one line and ask.
</execution_invariants>
<output_contract>
- INTAKE MODE ARTIFACT (Pre-Proposal / Pre-Spec — Lives in the Ticket):
- TARGET_PATH: Chat output ready to paste into Jira/Linear (0 repo files written by default; never touch git branches).
- SOURCE_TEMPLATE: `templates/intention.md` (MUST call `read_file` first)
- SCHEMA_INVARIANCE: Preserve all metadata bullets and Sections `1`–`4` + `Next Engineering Step` verbatim. Preserve the existing PM ticket key (`PROJ-XXX`) if refining an existing ticket.
- PROJECT MODE ARTIFACT (Post-Proposal / Post-Features):
- TARGET_PATH: `docs/product/working-on/active/[change-name]/tickets.md` (or `.sdlc/config.json` override)
- SOURCE_TEMPLATES: `templates/epic.md` + `templates/story.md` (MUST call `read_file` on both first)
- SCHEMA_INVARIANCE: `tickets.md` opens with the complete `templates/epic.md` structure (Sections `1`–`5` + `Links & Traceability`), followed by a `---` separator and one complete `templates/story.md` block per child ticket. Preserve all headings, metadata bullets, and Markdown table column schemas verbatim.
- ESCAPE_HATCH: Never silently omit or invent template sections. If a section genuinely does not apply (e.g., `Open Decisions & Blockers` when all questions are resolved, or `API / Contract Boundary` for a pure backend worker), preserve the heading and write `"N/A — [1-line rationale]"`, or halt and ask the user before deviating.
</output_contract>
> **Paths & Config:** Defaults follow `docs/product/working-on/active/[change-name]/`. If `.sdlc/config.json` exists, honour its `productDocsDir` and optional `ticketing` block (`provider`, `projectKey`, `splitStrategy`, `diagrams`).
---
## 🔄 Position in the SDLC Workflow
`/create-tickets` bridges **Product / Engineering Management (Jira, Linear, GitHub Issues)** with the **Spec-Driven Engineering Loop** in two modes:
```mermaid
flowchart LR
subgraph Intake ["Mode 1: Intake (Pre-Spec — Lives in Ticket)"]
Idea["Idea / Existing PM Ticket"] --> T1["/create-tickets (intake)<br/>Ticket body (0 repo writes)"]
end
T1 --> Mod["/modify-flow<br/>(proposal.md)"]
T1 --> New["/create-flow-documentation<br/>-> /create-entity-lifecycle<br/>-> /create-features"]
subgraph Project ["Mode 2: Project (Post-Spec)"]
Mod & New --> T2["/create-tickets (project)<br/>tickets.md (Epic + BE/FE Stories)"]
T2 --> Sync["Sync Keys (PROJ-XXX)<br/>into proposal.md §9"]
end
Sync --> Impl["/implement-flow or<br/>/modify-flow Step 3-4"]
```
---
## 📋 Step-by-Step Execution Workflow
### Step 0: Discover Mode, Config & Target Change
1. **Read `.sdlc/config.json`** (if present) and check for:
- `productDocsDir` (default: `docs/product`)
- Optional `ticketing` configuration:
```json
"ticketing": {
"provider": "jira",
"projectKey": "PROJ",
"splitStrategy": "be-fe",
"diagrams": "mermaid"
}
```
*(If `diagrams` is omitted, default to `"mermaid"`. Set `"none"` for trackers without Mermaid rendering.)*
2. **Ingest Existing PM / Pre-Definition Ticket (if provided):**
- If the user references an existing ticket key or URL (e.g., `PROJ-123` created by a PM):
- If an issue-tracker MCP server or CLI (e.g. Atlassian/Jira, Linear, `gh`) is available in the environment, fetch and read the ticket directly.
- Otherwise, read the ticket text pasted by the user (or ask the user to paste it if only a bare key was given).
- Preserve the existing `Ticket Key` (`PROJ-123`) in the generated output instead of replacing it with `Pending`.
3. **Determine Execution Mode:**
- **`intake` mode (Pre-Spec / Seed Ticket):** Use when the user wants to draft or refine an intention/pre-definition ticket *before* `proposal.md` or `features/*.md` exists (e.g. refining a PM ticket or opening a new Epic/intention without touching code or git branches).
- **`project` mode (Grounded Epic + Child Stories):** Use when `docs/product/working-on/active/[change-name]/proposal.md` and/or `features/feature-NN-*.md` already exist and need to be projected into bounded PM/EM tickets.
- **Light-tier single ticket:** If the change is a confirmed `Light`-tier tweak (single PR, no proposal folder), generate a single bounded `templates/story.md` block directly in the chat response (or in the PR note) without creating a `working-on/active/` folder.
4. **Determine `splitStrategy`:**
- Use `.sdlc/config.json` -> `ticketing.splitStrategy` if set (`"be-fe"` or `"vertical"`).
- Otherwise, infer from the user's request or default to `"be-fe"` when the change touches both backend and frontend layers (explicitly stating the chosen strategy in Step 3 so the user can override).
---
### Step 1: Ground & Extract Stakeholder-Ready Scope
#### If `intake` Mode:
1. Read any existing flow doc or bounded-context doc mentioned by the user (if modifying an existing flow) just enough to name the accurate **Bounded Context**, **Affected Flow**, and **Preliminary Layers**.
2. Do **not** run a deep code archaeology pass here (that belongs to `/modify-flow` `STEP_01` or `/create-flow-documentation`).
3. Capture the problem, desired outcome, explicit In/Out scope, and initial open questions for PM/EM.
#### If `project` Mode:
1. **Read the grounded engineering artifacts** under `docs/product/working-on/active/[change-name]/`:
- `proposal.md` (especially `§1 Product Rationale`, `§3 Desired Behaviour`, `§4 Concurrency/Migration`, `§6 Scope of Change`, `§7 Cross-Repo`, `§9 Delivery Slices`, `§10 Open Questions`).
- Any specified feature specs under `features/feature-NN-*.md` (especially Requirements `F[X]-R[Y]`, HTTP Error Contract, Concurrency, Layer Scope, Lack of Information Log).
- Any existing `implementation-plan*.md` (for rollout flags and high-level milestones).
2. **Map Slices to Child Tickets:**
- **Source slices:** Use `proposal.md` §9 (`S1`, `S2`...) and/or `features/feature-NN-*.md` (`F01`, `F02`...).
- **If `splitStrategy == "be-fe"`:**
- Inspect each slice's real scope (`proposal.md` §6 or `feature-NN.md` Layer Scope):
- Backend + Frontend touched $\rightarrow$ create **2 linked child tickets**: `[BE]` and `[FE]`. Specify the shared API/event contract and dependency (e.g., `FE depends on BE API contract` or `can develop in parallel against agreed contract`).
- Backend-only $\rightarrow$ create **1 `[BE]` ticket**.
- Frontend-only $\rightarrow$ create **1 `[FE]` ticket**.
- **If `splitStrategy == "vertical"`:**
- Create **1 vertical Story** per slice (`S1`, `S2` / `F01`, `F02`).
- **Just-in-time detail rule:** For multi-slice proposals where later slices (`S2`, `S3`) are still `Outline` or blocked by Open Questions, include them in the Epic's `Delivery Slices & Child Tickets` table, and only emit full `story.md` blocks for slices that are ready/unblocked (or all slices if the user explicitly asks for the full backlog upfront).
3. **Distill for PM + EM (Strip Engineering Noise):**
- **For PM:** Translate requirements into observable `Given / When / Then` Acceptance Criteria without class names, internal repositories, or file paths. Surface unresolved business decisions clearly with `PM` owner.
- **For EM:** Summarize data migrations, backward compatibility, feature flags, cross-repo deploy order, and critical `BR-*` / `INV-*` guards in crisp bullet points. Keep each ticket's `Delivery Checklist` to 3–5 high-level milestones.
---
### Step 2: Generate Ticket Artifact (`OUTPUT CONTRACT`)
1. **MANDATORY TOOL CALL(S):**
- In **`intake` mode:** Call `read_file` on `templates/intention.md`. Output the completed Markdown directly in the chat response (ready to paste into Jira/Linear, or sync via CLI/MCP after user confirmation) with **0 files written to the repository** and **0 git branch changes**. *(Only write `docs/product/working-on/active/[change-name]/intention.md` if the user explicitly asks to save it in git.)*
- In **`project` mode:** Call `read_file` on `templates/epic.md` AND `templates/story.md`. Write `docs/product/working-on/active/[change-name]/tickets.md` containing:
1. The complete Epic section (from `templates/epic.md`), followed by `---`.
2. One complete Child Ticket section (from `templates/story.md`) per unblocked/requested ticket, separated by `---`.
2. **Strip all HTML template comments (`<!-- ... -->`)** and replace every `[placeholder]` with real values (preserving any existing PM ticket key, and keeping `[PROJ-XXX or Pending]` only for tracker keys not yet created).
---
### Step 3: 🛑 Review Gate (Present & Align Before Tracker Sync)
1. Present the generated output (`intake` Markdown in chat, or clickable link to `tickets.md`).
2. Summarize:
- Mode used (`intake` vs `project`), ingested PM ticket key (if any), and `splitStrategy` (`be-fe` vs `vertical`).
- Number of tickets generated (Epic + list of `[BE]` / `[FE]` / `Vertical` child tickets and their dependencies).
- Any Open Decisions requiring `PM` or `EM` sign-off.
3. Explain the immediate next step:
- **If `intake` mode:** Copy/update the ticket in Jira/Linear (0 repo files or branches were touched). Once PM/EM align and you are ready to work on code, open your branch and pass that ticket to **`/modify-flow`** (for existing flows) or **`/create-flow-documentation`** (for new features).
- **If `project` mode:** Copy/create the Epic and child tickets in Jira/Linear (or sync via an issue-tracker CLI/MCP if configured), then reply with the assigned keys (e.g. `Epic: PROJ-100, S1 BE: PROJ-101, S1 FE: PROJ-102`) so Step 4 can record them back into the repo docs.
4. **STOP your turn** and wait for user feedback or ticket keys.
---
### Step 4: Sync Ticket Keys Back Into Active Change Docs
Execute once the user provides the real tracker keys (e.g. `PROJ-100`, `PROJ-101`, `PROJ-102`):
1. Update `docs/product/working-on/active/[change-name]/tickets.md` replacing `Pending` with the real keys and cross-ticket `Depends On / Blocks` links.
2. If `proposal.md` exists:
- Update `* **Epic / Ticket:**` in the header metadata.
- Update the `Ticket / PR` column in `## 9. Delivery Slices` (e.g., `PROJ-101 (BE), PROJ-102 (FE)`).
3. If any living `domain-services/*.md` doc has a `Part A4 Pending Changes` row for this change, update its `Ticket` column with the real key.
4. Confirm sync completion and suggest the next step (`/modify-flow` `STEP_03` or `/implement-flow`).
---
<self_validation_gate>
Before ending your turn, verify every applicable item below with concrete evidence (not just a checkmark). If any item cannot be cited with real evidence from this turn, DO NOT produce your final response — return to the failed step and fix the violation first:
- [ ] **Mode & Strategy Evidence:** State the mode (`intake` / `project` / `light`), `splitStrategy` (`be-fe` / `vertical`), and `.sdlc/config.json` check: `<mode, strategy, config status>`
- [ ] **Template Read Evidence:** Exact `templates/*.md` path(s) passed to `read_file` in this turn (`templates/intention.md` OR `templates/epic.md` + `templates/story.md`): `<paths>`
- [ ] **Output & Schema Evidence:** Exact output delivered (`chat-only intake, 0 repo writes` OR `working-on/active/[change]/tickets.md`), count of child tickets generated (`BE`/`FE`/`Vertical`), and any `"N/A — [rationale]"` section noted: `<output, N tickets>`
- [ ] **Halt Gate Evidence:** Confirm turn stops at Step 3 for user review/key sync with 0 production code edits (or confirm Step 4 key sync completed): `<status>`
</self_validation_gate>