ソース情報
- リポジトリ
- CodySwannGT/lisa
- ソースの最終更新活動
- 2026年8月13日 11:51
- 検出された SKILL.md の言語
- 英語
- スター
- 3
- フォーク
- 3
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/CodySwannGT/lisa --skill lisa-jira-write-ticketコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
This skill should be used for any non-trivial request — features, bugs, stories, epics, spikes, or multi-step tasks. It accepts a ticket URL (Jira, Linear, GitHub), a file path containing a spec, or a plain-text prompt. It assembles an agent team, breaks the work into structured tasks, and manages the full lifecycle from research through implementation, code review, deploy, and empirical verification.
any non-trivial request —…
This skill should be used for any non-trivial request — features, bugs, stories, epics, spikes, or multi-step tasks. It accepts a ticket URL (Jira, Linear, GitHub), a file path containing a spec, or a plain-text prompt. It assembles an agent team, breaks the work into structured tasks, and manages the full lifecycle from research through implementation, code review, deploy, and empirical verification.
SKILL.md を表示中
| name | lisa-jira-write-ticket |
| description | Creates or updates a JIRA… |
| allowed-tools | ["Bash","Skill"] |
All Atlassian operations in this skill go through lisa-atlassian-access. Do not call MCP tools or acli directly.
Create or update a JIRA ticket with all required relationships, metadata, and quality gates. Every section below is mandatory. Thin tickets are rejected.
Repository name for scoped comments: basename $(git rev-parse --show-toplevel).
Determine from $ARGUMENTS and context whether this is a CREATE or UPDATE:
/jira-read-ticket <KEY> first to load the full current state before editing. Never overwrite without reading.Resolve the active Atlassian site via lisa-atlassian-access operation: list-sites (the access skill enforces connection match against .lisa.config.json).
Required fields (stop and ask if missing — do not invent values):
| Field | Required For | Notes |
|---|---|---|
| Project key | CREATE | Resolve from .lisa.config.json (jira.project); ask the human if not configured |
| Issue type | CREATE | Story, Task, Bug, Epic, Spike, Sub-task, Improvement |
| Summary | CREATE, UPDATE | One line, imperative voice, under 100 chars |
| Description | CREATE, UPDATE | Multi-section — see Phase 3 |
| Epic parent | Non-bug, non-epic | Enforced by lisa-jira-verify |
| Priority | CREATE | Default to project default if unstated |
| Acceptance criteria | Story, Task, Bug, Sub-task, Improvement | Gherkin — see Phase 3 |
| Validation Journey | Runtime-behavior changes | Delegate to /jira-add-journey |
| Target backend environment | Runtime-behavior changes | For every work type, use an exact deploy.branches key when an environment is known. Human: bare key or Confirmed: <env>. Automation: Inferred: <env> — evidence: <title|body|reproduction|hostname>, Assumption: <env> — remote default branch <branch> for a unique reverse-map, or Assumption: remote default branch <branch> otherwise. Human confirmation replaces an automated annotation with the bare key or Confirmed: <env>. |
| Sign-in account / credentials | Tickets that touch authenticated surfaces | Name the account (or source — 1Password item, env var, seeded fixture) and role; recorded in description (Phase 3). Omit when sign-in is not required. |
| Single-repo scope | Bug, Task, Sub-task, Improvement | These leaf work units MUST cover one repo only. If the work crosses repos, split it before creating. Epic / Spike / Story may span repos. |
| Source Requirement | PRD-sourced tickets (prd_source provided) | h2. Source Requirement with PRD link + verbatim requirement quote(s) — see Phase 3; enforced at every level, sub-tasks included |
Optional but recommended: assignee, components, fix versions, labels, sprint, story points, reporter.
Issue-type validity and required custom fields are enforced by lisa-jira-validate-ticket's F1 / F4 gates (which run via lisa-atlassian-access under the hood). If you need to inspect the metadata directly, request a new operation in atlassian-access rather than calling MCP / acli yourself.
The description MUST address three audiences. Reject and rewrite if any are missing.
h2. Source Requirement
[Required whenever the ticket originates from a PRD (the caller passes
`prd_source`). Answers "why was this done?" — cite the PRD and quote the
requirement(s) VERBATIM, never paraphrased:
- **PRD**: <PRD title + link> §"<section heading>"
- **Requirement (R3)**: "<verbatim requirement text from the PRD>"
One Requirement line per satisfied requirement. Derived / cross-cutting
work that traces to no single requirement uses the supporting form:
"Derived work supporting R3, R7 — no single PRD section." Close with:
"This ticket exists to satisfy the quoted requirement. If implementation
scope drifts from the quoted text, the PRD is the authority — raise the
conflict rather than silently reinterpreting it." Omit the section only
for ad-hoc tickets with no PRD lineage.]
h2. Context / Business Value
[Why this matters. Stakeholder-facing. Concrete user impact or business outcome.
Link to the originating Slack thread, Notion doc, incident, or customer report.]
h2. Technical Approach
[Developer-facing. Integration points, impacted modules, data model implications,
relevant tradeoffs. Not a full design doc — a pointer for someone picking it up.]
h2. Acceptance Criteria
# Given <precondition>
When <action>
Then <observable outcome>
# Given <precondition>
When <action>
Then <observable outcome>
h2. Out of Scope
[Explicit list of what this ticket does NOT cover. Forces scope discipline.]
h2. Target Backend Environment
[ALWAYS required on a leaf — the SECTION is unconditional, only its
VALUE is conditional. It is where `runtime_behavior_change` is
persisted, so omitting it records nothing rather than recording "no".
When the ticket changes runtime behavior, use an exact
`deploy.branches` key. A human-confirmed value is a bare key or
`Confirmed: <env>`. An automated evidence write is
`Inferred: <env> — evidence: <title|body|reproduction|hostname>`; an automated
generic default is `Assumption: <env> — remote default branch <branch>`.
Without a unique reverse-map use `Assumption: remote default branch <branch>`.
Human confirmation replaces the automated annotation with a bare key or
`Confirmed: <env>`. ALWAYS render this section — it is where
`runtime_behavior_change` is persisted, and an absent section reads as
*underivable*, not exempt. Work that changes no runtime behavior declares the
exemption in place of an environment: `None — no runtime behavior change:
doc-only` (or `config-only` / `type-only`). An Epic/container declares
`None — container: state rolls up from children`. Visible prose, not an HTML
comment, for the same reason the Branch Plan provenance line is: JIRA's ADF has
no comment node. See the `derived-branch-plan` rule.]
h2. Branch Plan
[GENERATED, never hand-authored. Render only when the ticket has a Target
Backend Environment; omit entirely when `runtime_behavior_change = false`
(doc-only / config-only / type-only) or for an Epic/container — absence is
correct there. Derive per the `derived-branch-plan` rule: resolve the
environment, map it forward through `.lisa.config.json` `deploy.branches`,
and prove the branch exists on the remote. Do not accept caller-supplied
branches; recompute them. Exactly three lines:
Branch from: <branch>
PR into: <branch>
Derived from: Target Backend Environment <env> via .lisa.config.json deploy.branches
Both fields name the same branch by construction. A missing, ambiguous, or
non-unique mapping, or a branch absent from the remote, STOPS the write —
never default to `main` or the remote default to keep the write alive.]
h2. Sign-in Required
[Include this section ONLY if the work touches authenticated surfaces.
Specify: the account/role to sign in as, where to get the credentials
(1Password item name, env var, seeded fixture), and any MFA/SSO notes.
Omit the section entirely when sign-in is not required — its absence
means "no sign-in needed for this ticket."]
h2. Repository
[Required for Bug / Task / Sub-task / Improvement. Name the single repo this ticket covers.
If the work spans repos, this ticket type is wrong — split into per-repo
Tasks/Subtasks under a parent Story or Epic. Epic / Spike / Story may
list multiple repos.]
h2. Validation Journey
[Delegate to /jira-add-journey if the ticket changes runtime behavior.
Skip only for doc-only, config-only, or type-only tickets. Cross-work-item
evidence pointers use `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]`;
they never replace this ticket's local S14 marker.]
Rules:
prd_source) MUST carry the Source Requirement section with verbatim quotes — paraphrases are rejected (validator gate S16). This applies at every level, sub-tasks included: a leaf claimed in isolation must explain its own "why".Before creating or updating, find candidate relationships. Do NOT skip — this is the step agents most often omit.
If the ticket is not a Bug and not an Epic, it MUST have an epic parent:
project = <PROJECT> AND issuetype = Epic AND statusCategory != Done
via lisa-atlassian-access operation: search-issues jql: "<query>". Match on keywords from the summary and description.Relationship discovery is mandatory on every create and every update — never declare "no related work" without doing both searches below and recording their outcomes on the ticket.
Search 1: local git history (catches PRs/commits that touched the same area but were never linked to a ticket):
# Commits mentioning the keyword
git log --all --oneline --grep="<keyword>"
# Commits that touched the relevant paths
git log --all --oneline -- <path-or-glob>
# Recent activity in this area (last 90 days)
git log --since=90.days --oneline -- <path-or-glob>
If the git search surfaces a PR or commit that relates to this work, capture the PR URL — it becomes a remote link (Phase 4c) and may also point to a sibling ticket worth linking.
Search 2: Jira JQL (catches open and recently-closed tickets):
# Open tickets touching the same component
project = <PROJECT> AND component = "<component>" AND statusCategory != Done
# Open tickets with overlapping keywords
project = <PROJECT> AND (summary ~ "<keyword>" OR description ~ "<keyword>") AND statusCategory != Done
# Epic siblings
"Epic Link" = <EPIC-KEY>
# Recent tickets touching the same labels
project = <PROJECT> AND labels in (<labels>) AND updated >= -30d
# Recently closed tickets in the same area (catches duplicates of work just shipped)
project = <PROJECT> AND component = "<component>" AND status = Done AND updated >= -30d
Record the outcome. Add a ## Relationship Search subsection (or a comment if updating an existing ticket) listing the queries you ran and what they returned. If the searches yielded nothing, write that explicitly — "Searched git history for <keywords> and JQL for component=X, label=Y, epic siblings; no related work found." A ticket with zero links and no documented search is rejected.
For each candidate, classify the relationship:
| Link Type | When to Use |
|---|---|
blocks | This ticket must ship before the linked ticket can proceed |
is blocked by | The linked ticket must ship before this one can proceed |
relates to | Shared context, no ordering constraint |
duplicates | This ticket already exists — close one as duplicate |
clones | This ticket was created from the linked one (e.g. per-repo copies) |
Identify and attach:
lisa-tracker-source-artifacts (invoke that skill if you haven't loaded the rules in this session). The short version: enumerate the parent epic's remote links and inherit the ones whose domain matches this ticket's scope (UI → ui-design + ux-flow; backend → data; infra → ops; always inherit reference). Never assume a developer will walk up to the epic to find design context — attach it here.If the ticket was generated from a PRD (by lisa-notion-to-tracker or similar) and the parent epic has no source artifacts, surface that as a smell and ask whether artifacts were missed during extraction before proceeding.
Source precedence rules and cross-axis conflict handling are defined in lisa-tracker-source-artifacts §3 and §4. When a ticket carries both design artifacts and a description, record the precedence explicitly in the ticket description (under Technical Approach or a dedicated ## Source Precedence subsection) so the implementer doesn't silently reconcile conflicts. Cross-axis conflicts go under ## Open Questions as BLOCKER items.
For UI-touching tickets, include the existing-component reuse expectation per lisa-tracker-source-artifacts §7.
If the ticket modifies an existing user-facing surface, a lisa-product-walkthrough should already have been run upstream (by lisa-notion-to-tracker Phase 2b or lisa-jira-create). Inherit its findings under a ## Current Product subsection in the ticket description so the implementer sees what's shipped today before changing it. If the upstream skill skipped the walkthrough but this ticket clearly modifies an existing surface, invoke lisa-product-walkthrough here before proceeding.
Use Jira's web UI or lisa-atlassian-access operation: write-ticket (UPDATE form) to set the Development field / remote links where supported.
Before create/update, verify each field is populated where applicable:
claude-triaged-{repo} is added later by triage, not here)build_ready)build_ready is a write-control input governed by the ready-role-filing rule — cite that slug for the full contract; do not restate its per-vendor normalization table here. It decides whether a leaf work unit is promoted to the build-ready role on create. It never overrides leaf-only-lifecycle — a container is never promoted regardless of build_ready. Unlike the label-based trackers, JIRA tickets are already created not-ready (in the project's default initial status, e.g. TODO/Backlog); the build-ready role is the configured ready status (jira.workflow.ready, default Ready), reached by an explicit transition. JIRA is the vendor whose behavior the other two converged onto — this arm is unchanged by that normalization.
build_ready: false → same outcome as omitted, stated deliberately: the ticket waits in the project's default status for a human to promote it.build_ready: true → after create, transition the leaf to the resolved ready role so lisa-intake / lisa-jira-build-intake auto-picks it up (see Phase 6 CREATE step). Resolve the role name with the standard pattern (.jira.workflow.ready // Ready, local overrides global). Best-effort: if the transition is unreachable, record it and leave the ticket in its default status rather than failing the write.A filing with neither is an incomplete handoff. A leaf that is not build-ready must carry an explicit human_gate: "<why a human must judge this first>"; nothing in the ready status means nothing ever claims it. When human_gate is supplied, stamp the hold on the ticket so it is auditable — a visible line plus the verbatim marker:
Held for a human product call: <reason>.
<!-- [lisa-human-gate] reason=<short-slug> -->
If a leaf arrives with build_ready omitted or false and no human_gate, do not create it: report the incomplete handoff and name both ways to resolve it (build_ready: true, or a human_gate reason). Containers are exempt — their status rolls up from children, so they need neither.
Before any write, invoke lisa-jira-validate-ticket with the full proposed spec assembled from Phases 2 / 3 / 4 / 5. Pass it as a YAML block per the lisa-jira-validate-ticket schema, including runtime_behavior_change, authenticated_surface, and artifacts_attached flags so the right gates run.
The validator is the single source of truth for what makes a valid ticket. The same gates are used by lisa-notion-to-tracker dry-run, by lisa-jira-verify post-write, and here. Do not re-implement gate logic in this skill — if a gate needs to change, change lisa-jira-validate-ticket so every caller benefits.
If the validator reports FAIL:
lisa-atlassian-access with operation: write-ticket while the validator's verdict is FAIL.If the validator reports PASS, continue to Phase 6.
Before calling lisa-atlassian-access, keep the description in Lisa's normal Markdown/wiki-heading authoring shape; the access layer owns conversion through scripts/markdown-to-adf.mjs and writes ADF to JIRA. This is required because acli stores raw Markdown/wiki text as one literal paragraph when no ADF object is provided. Post-write verification must confirm the live description contains ADF heading nodes for the required sections, not literal ## / h2. text in a paragraph.
lisa-atlassian-access via the Skill tool with operation: write-ticket payload: {...} containing all Phase 2/3/5 fields and the epic parent from Phase 4a (CREATE form — no existing key).lisa-atlassian-access with operation: link from: <K1> to: <K2> type: "<link-type>". Use the exact link-type names supported by the project; surface errors if an unknown type is passed.lisa-atlassian-access operation: write-ticket UPDATE form or whatever remote-link operation is dispatched).lisa-jira-add-journey skill to append the Validation Journey section.build_ready: true and the ticket is a leaf work unit): transition the new ticket to the resolved ready status via lisa-atlassian-access operation: transition key: <K> to: "<ready-status>" (resolve <ready-status> as .jira.workflow.ready // Ready, local overrides global). Skip this step entirely when build_ready is omitted or false, or for any container. If the transition is unreachable, record it and leave the ticket in its default status — do not fail the write.lisa-atlassian-access with operation: write-ticket payload: {key: <K>, ...fields-being-changed}. Do NOT resend fields that weren't in the change set — it blows away history.lisa-atlassian-access operation: link from: <K1> to: <K2> type: "<link-type>". Existing links are not touched unless explicitly removed./jira-read-ticket first, including any existing canonical managed ## Lisa Usage section unless the caller intentionally supplied an updated canonical section. Use the shared lisa-usage-accounting serializer/merge path rather than freehand edits to ledger rows.Call the lisa-jira-verify skill on the resulting ticket. lisa-jira-verify fetches the live ticket and runs lisa-jira-validate-ticket against it — same gates as Phase 5.5, but applied to what JIRA actually stored (catches anything dropped or reformatted on write, including Markdown/wiki descriptions that degraded into one literal text paragraph instead of ADF heading nodes). If it reports failures, fix them before returning. Do not report success on a ticket that fails verify.
Post a creation comment via lisa-atlassian-access operation: comment key: <K> body: "..." with:
[{repo}] prefix if the ticket is repo-scopedblocks, is blocked by, relates to) with linksSkip this step only on UPDATE when no material change was made.
## Lisa Usage section on update; never append a second usage
section or silently drop ledger rows.lisa-jira-create) should delegate here rather than invoking lisa-atlassian-access write operations directly.lisa-jira-validate-ticket, NOT in this skill. This skill calls the validator at Phase 5.5 (pre-write) and Phase 7 (via lisa-jira-verify post-write). When a gate needs to change, change it in lisa-jira-validate-ticket — every caller (write path, dry-run path, post-write verify) picks it up automatically.