Skip to content

Add /improve skill for codebase analysis → issue creation → execution pipeline #82

Closed

Description

@admarble

Summary

Add a /improve skill that provides a complete pipeline from codebase analysis to issue creation to execution.

Motivation

When brainstorming improvements with Claude, users often:

  1. Identify multiple potential improvements
  2. Want to create issues for each
  3. Want to execute them via sequant run

Currently this is manual. A /improve skill would streamline the entire flow.

Proposed Workflow

/improve [area]    # e.g., /improve src/utils or /improve performance
  1. Analyze — Scan specified area (or whole codebase) for improvements

    • Code quality issues
    • Performance opportunities
    • Missing tests
    • Documentation gaps
    • Security concerns
    • Refactoring candidates
  2. Present — Show findings grouped by category with effort estimates

    • Quick wins (< 1 hour)
    • Medium efforts (1-4 hours)
    • Larger refactors
  3. Create Issues — User selects which improvements to pursue

    • Creates well-formatted GitHub issues with proper labels
    • Includes context and suggested approach
    • Links related issues together
  4. Execute — Offer to run selected issues

    Created issues #78, #79, #80
    Would you like to solve these? Run: sequant run 78 79 80 -q
    

Acceptance Criteria

  • /improve skill exists in templates/skills/improve/
  • Supports optional path argument to scope analysis
  • Categorizes findings by type and effort
  • Creates issues with appropriate labels (enhancement, bug, docs, etc.)
  • Offers sequant run command after issue creation
  • Works without any MCP servers (graceful degradation)

Out of Scope (v1)

  • Automatic execution without confirmation
  • PR creation (that's what /exec does)
  • Cross-repo analysis

Labels

enhancement, skill

Activity

  1. added
    enhancement
    roadmap
    on Jan 13, 2026
  2. admarble commented on Jan 17, 2026

    @admarble
    ContributorAuthor

    Plan Complete

    AC Checklist

    • AC-1: /improve skill exists in templates/skills/improve/
    • AC-2: Supports optional path argument to scope analysis
    • AC-3: Categorizes findings by type and effort
    • AC-4: Creates issues with appropriate labels (enhancement, bug, docs, etc.)
    • AC-5: Offers sequant run command after issue creation
    • AC-6: Works without any MCP servers (graceful degradation)

    Implementation Plan

    1. Create skill directory structure

      • templates/skills/improve/SKILL.md - Main skill definition
    2. Design analysis framework

      • Code quality analysis (patterns, anti-patterns)
      • Performance opportunities (inefficiencies)
      • Missing tests detection
      • Documentation gaps
      • Security concerns
      • Refactoring candidates
    3. Implement categorization system

      • Quick wins (< 1 hour)
      • Medium efforts (1-4 hours)
      • Larger refactors
    4. Issue creation workflow

      • Parse user-selected improvements
      • Create well-formatted GitHub issues with proper labels
      • Link related issues together
      • Output sequant run command
    5. MCP graceful degradation

      • Primary: Use standard tools (Glob, Grep, Read, Bash)
      • Optional enhancement: Context7 for external library checks
      • No MCP dependency for core functionality

    Ready to implement.

  3. added a commit that references this issue on Jan 17, 2026
  4. admarble commented on Jan 17, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #82
    Status: READY_FOR_MERGE

    Summary

    • AC: 6/6 met
    • Tests: 369/369 passed
    • Build: Passing

    AC Coverage

    AC Description Status
    AC-1 /improve skill exists in templates/skills/improve/ ✅ MET
    AC-2 Supports optional path argument to scope analysis ✅ MET
    AC-3 Categorizes findings by type and effort ✅ MET
    AC-4 Creates issues with appropriate labels ✅ MET
    AC-5 Offers sequant run command after issue creation ✅ MET
    AC-6 Works without any MCP servers (graceful degradation) ✅ MET

    Iterations

    • Test loop: 0 (passed first time)
    • QA loop: 0 (all AC met)

    Self-Evaluation

    • Worked as expected: Yes
    • Test coverage confidence: High (documentation-only skill)
    • Weakest part: Detection strategies are examples, not enforced code
    • Honest assessment: Comprehensive skill template, relies on agent interpretation

    PR: #104


    Ready for human review and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions