From auto-claude-skills
Pull Jira/Confluence context, synthesize discovery brief, validate problem framing before design
npx claudepluginhub damianpapadopoulos/auto-claude-skillsThis skill uses the workspace's default tool permissions.
Synthesize a discovery brief from Jira tickets, Confluence docs, and conversation context. Present the brief for user validation before transitioning to design.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Synthesize a discovery brief from Jira tickets, Confluence docs, and conversation context. Present the brief for user validation before transitioning to design.
Check which MCP tools are available:
Tier 1 — Atlassian MCP:
If you have access to searchJiraIssuesUsingJql, getJiraIssue, searchConfluenceUsingCql, or getConfluencePage as MCP tools, use Tier 1.
Tier 2 — Manual Context: If no Atlassian MCP tools are available, ask the user to provide context directly:
"I don't have Atlassian MCP access. Please share any of the following:
- Jira ticket IDs or URLs for the work you're considering
- Problem statements or user pain points
- Acceptance criteria or success metrics
- Links to relevant Confluence docs or ADRs"
Tier 1 (Atlassian MCP available):
searchJiraIssuesUsingJql with project, status, priority, labelsgetJiraIssue for full details on top candidatessearchConfluenceUsingCql for design docs, ADRs, prior decisionsgetConfluencePage to read full content of relevant pagesTier 2 (Manual):
Present a structured brief covering:
Problem Statement: What user pain point or business need are we addressing?
Prior Art: What has been tried before? What related work exists? (from Jira history, Confluence docs)
Acceptance Criteria: What does success look like? (from Jira tickets or user input)
Constraints: Known limitations — timeline, dependencies, technical constraints
Hypotheses:
We believe [intervention] will [outcome].
Add H2, H3, etc. for additional hypotheses. All structured fields are nullable at discovery time.
Open Questions: What needs to be answered before design can begin?
Present the brief and ask:
"Does this discovery brief capture the problem accurately? Should I adjust anything before we move to design?"
Wait for user confirmation. If they request changes, revise and re-present.
After the user approves the brief — this is mandatory. The LEARN-phase outcome-review skill reads a baseline written at SHIP time, which in turn depends on discovery_path and hypotheses being present in session state.
Write the brief to docs/plans/YYYY-MM-DD-<slug>-discovery.md using the Write tool. Derive <slug> as kebab-case from the primary feature name.
Read the session token:
TOKEN="$(cat ~/.claude/.skill-session-token 2>/dev/null)"
Source the state helpers from the auto-claude-skills plugin root (typically $CLAUDE_PLUGIN_ROOT/hooks/lib/openspec-state.sh):
. "$CLAUDE_PLUGIN_ROOT/hooks/lib/openspec-state.sh"
Persist the discovery path:
openspec_state_set_discovery_path "$TOKEN" "<slug>" "docs/plans/YYYY-MM-DD-<slug>-discovery.md"
Persist structured hypotheses as a JSON array. Each H from Step 3 becomes one object:
HYPS='[{"id":"H1","description":"We believe ...","metric":"checkout_completion_rate","baseline":"0.12","target":"increase >20%","window":"2 weeks post-ship"}]'
openspec_state_set_hypotheses "$TOKEN" "<slug>" "$HYPS"
Use null for fields unknown at discovery time. Keep them as JSON literals — the helper validates the shape.
If any helper call fails (missing token, jq unavailable), note it in chat but continue to Step 6. The loop degrades gracefully; the session still produces a valid discovery artifact.
Once discovery state is persisted:
"Discovery complete. Invoke Skill(superpowers:brainstorming) to begin design."
This is a hard transition. Do not begin design work within the discovery skill.