k2-dev:report
This skill should be used when you need to generate a comprehensive status report for a beads ticket, including summary, progress, dependencies, PR status, and next steps. Use this after workflow completion or when the user requests a ticket status report.
What this skill does
# Report Skill - Ticket Status Report Generation
Generate comprehensive structured reports for beads tickets with complete context.
## When to Use This Skill
- After completing `/k2:start` workflow (Phase 9) to provide final status report
- When user requests ticket status via `/k2:report {ticket-id}`
- When Technical Lead needs comprehensive ticket overview
- For tracking progress across multiple tickets
## Execution Context
This skill executes in the **main conversation context**, not as an isolated agent. You have access to all tools (Bash, Read, etc.) to gather ticket information and generate reports.
## Report Generation Process
### Step 1: Parse Ticket ID
If ticket ID is provided as argument, use it. Otherwise, ask: "Which ticket would you like a report for?"
### Step 2: Fetch Data in Parallel
**PERFORMANCE OPTIMIZATION**: Run all commands simultaneously using multiple Bash tool calls in a single message:
```bash
bd show {ticket-id} # title, description, status, priority, dates, assignee
bd comments {ticket-id} # all comments with timestamps
bd dep list {ticket-id} # dependencies (blockers/blocking/parent/child/epic)
git worktree list | grep -q "beads-{ticket-id}" && echo "worktree" || (git branch --list "feature/beads-{ticket-id}" | grep -q . && echo "branch" || echo "none") # check worktree OR branch
gh pr view feature/beads-{ticket-id} --json url,state,reviewDecision 2>/dev/null || echo "No PR" # direct PR lookup (faster than search)
```
**Performance notes:**
- All 5 commands are independent - execute in parallel for ~70-80% faster execution
- `gh pr view` is ~60% faster than `gh pr list --search` (direct lookup vs search)
- Combined git check handles both worktree and branch scenarios
### Step 3: Generate Structured Report
Format the collected data using this markdown template:
```markdown
# Ticket Report: {ticket-id}
## Summary
**Title:** {title} | **Status:** {status} | **Priority:** {priority} | **Assignee:** {assignee or "Unassigned"}
## Description
{description}
## Progress
**Created:** {created_date} | **Last Updated:** {updated_date} | **Current Phase:** {infer from status/comments}
## Related Work
**Git Branch:** feature/beads-{ticket-id} {worktree/branch/none - from combined check}
**Pull Request:** {PR URL & status from JSON or "Not created yet"}
## Dependencies
{list: depends-on (blockers), blocks (blocking), parent/child relationships, epic membership}
## Comments & History
{chronological list with timestamps - include automated & manual comments}
## Next Steps
{status-based actions:
- open: Start implementation with /k2:start {ticket-id}
- in_progress: Check work branch, continue implementation, review progress
- blocked: Resolve blocking dependencies listed above
- closed: Review completed work, verify PR merged}
```
### Step 4: Present Report
Present the complete markdown report to the user in a clear, well-formatted way.
## Error Handling
**Ticket not found:**
```
Error: Ticket {ticket-id} not found. Use 'bd list' to see available tickets.
```
Exit and inform user.
**Beads command fails:**
```
Error: Unable to fetch ticket information. Ensure beads is installed and synced.
```
Exit and inform user to check beads installation and run `bd sync`.
## Usage Examples
### Example 1: Report After Workflow Completion
```
Context: Technical Lead completed /k2:start workflow and reached Phase 9
Action: Invoke Skill tool with "k2-dev:report" and ticket-id
Result: Comprehensive report showing completed work, PR status, and follow-ups
```
### Example 2: User Requests Report via Command
```
Context: User runs /k2:report beads-123
Action: Command invokes this skill with ticket-id "beads-123"
Result: Full status report for the specified ticket
```
## Integration with K2-Dev Workflow
This skill is invoked:
1. **From `/k2:start` command**: At Phase 9 (after merge and cleanup) to provide final comprehensive report
2. **From `/k2:report` command**: When user explicitly requests a ticket status report
3. **From Technical Lead agent**: When generating status reports for ticket oversight
## Performance Characteristics
- **Parallel execution**: All data fetching done in parallel (~70-80% faster)
- **Fast PR lookup**: Direct `gh pr view` instead of search (~60% faster)
- **Single pass**: All data collected in one round-trip
- **Minimal overhead**: Executes in main context, no agent spawning cost
---
**Remember**: This is a skill, not an agent. Execute the logic directly in the current conversation context using available tools.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.