本文へ移動
cccskills
無料GitHub で公開

ticket-manager

SQLite-based ticket tracking for structured development workflows. Use this skill when the user asks to initialize a ticket database, import requirements, list tickets, get the next ticket to work on, mark tickets as done, or check ticket status. Essential for managing epics, user stories, and acceptance criteria.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md8.2 KB
  • source.json847 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Ticket Manager Skill

For Claude Code AI Assistant

This skill provides SQLite-based ticket tracking for structured development workflows.

Purpose

The ticket-manager skill enables systematic ticket-based development by:

  • Storing tickets (epics and stories) in a local SQLite database
  • Tracking ticket status (TO_DO, IN_PROGRESS, DONE, SHELVED)
  • Managing acceptance criteria and technical notes
  • Providing workflow commands for ticket progression

Database Location

  • Default: ./.artifex/tickets.db in the project's Artifex directory
  • Can be overridden with TICKET_DB environment variable

Available Commands

1. Initialize Database

ticket-manager.sh init

Creates a new .artifex/tickets.db file with the schema. Use init force to recreate an existing database.

When to use: At project start, before importing requirements

2. Import Requirements

ticket-manager.sh import [--no-validate] requirements.json

Imports tickets from a requirements JSON file. For each story, both acceptance_criteria and technical_notes arrays are persisted into their respective tables; stories without a technical_notes field (or with an empty array) are imported cleanly with no warning, preserving backward compatibility with pre-10.8 requirements files. By default, each story is validated before insertion: acceptance criteria must be in Gherkin form (Given ... When ... Then ...), every story must have a non-empty title and id, and empty descriptions emit an informational note. Warnings and errors are written to stderr; a single summary line (imported N epics, M stories, K technical notes, E errors, W warnings) is written to stdout. Stories with errors are skipped; warnings do not block insertion. Pass --no-validate to disable all validation (useful when migrating a project whose tickets predate the Gherkin convention).

The expected JSON structure:

{
  "epics": [
    {
      "id": "1",
      "title": "Epic Title",
      "description": "Epic description",
      "user_stories": [
        {
          "id": "1.1",
          "title": "Story Title",
          "description": "Story description",
          "complexity": "Medium",
          "implementation_order": 1,
          "acceptance_criteria": [
            "Given... When... Then..."
          ],
          "technical_notes": [
            "Optional implementation hint or constraint"
          ]
        }
      ]
    }
  ]
}

When to use: After database initialization, to load project tickets

3. Get Next Ticket

ticket-manager.sh next

Returns the next TO_DO story ordered by implementation_order and ID.

Output includes:

  • Story ID, title, epic, complexity
  • Full description
  • Acceptance criteria

When to use: When ready to start implementing a new ticket

4. Update Ticket Status

ticket-manager.sh update <ticket_id> <status> [note]

Valid statuses: TO_DO, IN_PROGRESS, DONE, SHELVED

SHELVED is a terminal state for deliberately-parked tickets. Shelved stories:

  • Are excluded from next-ticket selection (they won't be picked up as the next unit of work)
  • Are excluded from epic progress denominators (a shelved ticket doesn't drag a phase's completion percentage down forever)
  • Still appear in show <id> and status summaries so you can see why they were parked
  • Use the tool's regular update <id> SHELVED "<reason>" path with a note explaining the trigger that would revive them

Examples:

# Mark ticket as in progress
ticket-manager.sh update 2.4 IN_PROGRESS "Starting implementation"

# Mark ticket as done
ticket-manager.sh update 2.4 DONE "Completed with tests"

When to use:

  • When starting work (TO_DO → IN_PROGRESS)
  • When completing work (IN_PROGRESS → DONE)
  • When reverting status changes

5. Mark Ticket Done

ticket-manager.sh done <ticket_id> [note]

Shortcut for updating status to DONE.

Example:

ticket-manager.sh done 2.4 "Implemented with 95% test coverage"

When to use: At the end of ticket implementation workflow (Step 15-16)

6. Show Ticket Details

ticket-manager.sh show <ticket_id>

Displays complete ticket information:

  • Title, epic, status, complexity
  • Description
  • Acceptance criteria
  • Technical notes
  • Implementation notes
  • Status history with timestamps

When to use: When you need complete context about a specific ticket

7. Show Overall Status

ticket-manager.sh status

Shows summary statistics:

  • Total stories count
  • Breakdown by status (TO_DO, IN_PROGRESS, DONE, SHELVED) with percentages
  • Progress per epic

When to use: To check project progress, report status

8. Export to JSON

ticket-manager.sh export [output.json]

Exports all tickets back to JSON format (default: requirements-export.json).

When to use:

  • Creating backups
  • Sharing ticket state
  • Migrating to other systems

Database Schema

Tables

  1. epics - Epic-level tickets

    • id (TEXT PRIMARY KEY)
    • title (TEXT)
    • description (TEXT)
    • created_at, updated_at (TIMESTAMP)
  2. stories - User story tickets

    • id (TEXT PRIMARY KEY)
    • epic_id (TEXT, foreign key)
    • title (TEXT)
    • description (TEXT)
    • status (TEXT: TO_DO, IN_PROGRESS, DONE, SHELVED)
    • complexity (TEXT: Low, Medium, High, Very High)
    • implementation_order (INTEGER)
    • notes (TEXT)
    • created_at, updated_at (TIMESTAMP)
  3. acceptance_criteria - Story acceptance criteria

    • id (INTEGER PRIMARY KEY)
    • story_id (TEXT, foreign key)
    • criterion (TEXT)
    • created_at (TIMESTAMP)
  4. technical_notes - Technical implementation notes

    • id (INTEGER PRIMARY KEY)
    • story_id (TEXT, foreign key)
    • note (TEXT)
    • created_at (TIMESTAMP)
  5. status_history - Audit trail of status changes

    • id (INTEGER PRIMARY KEY)
    • story_id (TEXT, foreign key)
    • old_status (TEXT)
    • new_status (TEXT)
    • note (TEXT)
    • changed_at (TIMESTAMP)

Typical Workflow

  1. Project Setup:

    ticket-manager.sh init
    ticket-manager.sh import requirements.json
    ticket-manager.sh status  # Verify import
    
  2. Start New Ticket:

    ticket-manager.sh next  # Get ticket to work on
    ticket-manager.sh update <ID> IN_PROGRESS "Starting work"
    
  3. During Implementation:

    ticket-manager.sh show <ID>  # Reference details as needed
    
  4. Complete Ticket:

    ticket-manager.sh done <ID> "Implementation note"
    ticket-manager.sh status  # Check progress
    
  5. Export/Backup:

    ticket-manager.sh export backup.json
    

Integration with ticket-implementation Agent

The ticket-manager skill is designed to work seamlessly with the ticket-implementation agent workflow:

  • Step 1 (Validation): Use status to verify clean state
  • Step 2 (Select Ticket): Use next to get ticket ID
  • Step 2 (Mark In Progress): Use update <ID> IN_PROGRESS
  • Step 3-14 (Implementation): Reference show <ID> for context
  • Step 15 (Mark Done): Use done <ID> with implementation notes
  • Step 16 (Progress Check): Use status to see overall progress

Error Handling

The skill exits with non-zero status on errors:

  • Database not initialized
  • Ticket not found
  • Invalid status value
  • Missing required dependencies (sqlite3, jq)

Always check for error messages before proceeding.

Dependencies

  • Required: sqlite3, bash 4.0+
  • Recommended: jq (for JSON import/export)

Best Practices

  1. Always initialize first: Run init before any other commands
  2. Import once: Import requirements at project start, manage via commands thereafter
  3. Track status changes: Include meaningful notes when updating status
  4. Regular exports: Periodically export to JSON for backup
  5. Check status: Use status command to monitor overall progress
  6. Reference details: Use show to get complete ticket context during implementation

Version

1.0.0

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

007

無料

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. This should trigger for requests such as Create a user story; Write a user story; I need to write a user story. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria. This should trigger for requests such as Create ADR for Non-functional requirements; Document Non-functional requirements; Capture Non-functional requirements; Generate Non-functional requirements in an ADR. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Run a health check on an existing project: dependency audit, security scan, test runner detection, CI/CD evaluation, and missing configuration analysis. Maps the three execution gates (pre/in/post) from /10x-bootstrapper to an assessment framework for existing codebases. Reads optional context/foundation/stack-assessment.md from /10x-stack-assess to focus checks on identified gaps. Writes context/foundation/health-check.md with findings, prioritized fixes, and an agent-readiness verdict. Use when the user has an existing project and wants to verify its health before working with an agent. Trigger phrases: "health check", "check my project", "audit my project", "is my project healthy", "sprawdź projekt", "audyt projektu", "health-check", "project health". Use AFTER /10x-stack-assess (brownfield chain), BEFORE agent onboarding (m1-l4).

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

10x-team

無料

You MUST use this when building projects end-to-end. Orchestrates all 12 team roles — automatically switches between CTO, architect, PM, engineers, SRE, security, DBA, QA, and EM based on the current phase of work. Starts with brainstorming before any implementation.

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. This should trigger for requests such as Add Maven plugins in pom.xml; Improve Maven plugins in pom.xml. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

aibot88 のスキルをすべて見る

このスキルの問題を報告する