Skip to content

feat(#82): add /improve skill for codebase analysis and issue creation - #104

Merged
admarble merged 1 commit into
mainfrom
feature/82-add-improve-skill-for-codebase-analysis-issue-c
Jan 17, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/82-add-improve-skill-for-codebase-analysis-issue-c

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Adds new /improve skill for codebase analysis → issue creation → execution pipeline
  • Analyzes codebase for code quality, performance, tests, docs, security, and refactoring opportunities
  • Categorizes findings by effort level: Quick Wins, Medium Effort, Larger Refactors
  • Creates well-formatted GitHub issues with appropriate labels
  • Offers sequant run command after issue creation for immediate execution

Acceptance Criteria

  • 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)

Self-Evaluation

  • Worked as expected: Yes - skill file created with comprehensive documentation
  • Test coverage confidence: High - this is a documentation-only skill (SKILL.md), no runtime code to test
  • Weakest part: The detection strategies are examples rather than enforced code - agents will interpret these guidelines
  • Honest assessment: The skill provides clear guidance for codebase analysis but relies on agent interpretation for actual implementation

Test plan

  • Build passes
  • All existing tests pass (369 tests)
  • Skill file created at templates/skills/improve/SKILL.md
  • Skill follows existing skill format (frontmatter, sections, examples)
  • Manual test: Run /improve in a project to verify agent follows the skill

Fixes #82

🤖 Generated with Claude Code

- Adds new /improve skill in templates/skills/improve/
- Supports optional path argument to scope analysis
- Categorizes findings by effort: Quick Wins, Medium, Large Refactors
- Creates GitHub issues with appropriate labels
- Offers sequant run command after issue creation
- Works without MCP servers (graceful degradation)

Fixes #82

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble
admarble merged commit 3d580f6 into main Jan 17, 2026
@admarble
admarble deleted the feature/82-add-improve-skill-for-codebase-analysis-issue-c branch January 17, 2026 03:21
admarble pushed a commit that referenced this pull request Sep 11, 2026
…st for the numeric-prefix collision

Second-pass QA: `Merge.*#104` still matched `Merge pull request #1043 …` by
numeric prefix — the same PR-vs-issue confusion as the removed `(#N)` form.
Both remaining patterns are now extended regexes ending in `([^0-9]|$)`.
Regression test covers issue 104 vs PR 1043 (false) and 1043 itself (true);
the real-git describe gets a 15s timeout instead of the unit default.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_0147heJNRw8wBBujPGMqxDpR
admarble added a commit that referenced this pull request Sep 11, 2026
… merge (#1048)

* fix(state): stop reconcile from matching (#N) commit-mention as issue merge (#1044)

isIssueMergedIntoMain's Method 2 fallback matched any commit subject
containing "(#N)" — a squash-merge form that records the PR number, not
the issue number. An unrelated PR's title referencing an issue in prose
was read as proof the issue was merged, even with its own feature branch
unmerged and its PR still open. Drop that grep pattern; keep the two
merge-commit-anchored forms (`Merge #N`, `Merge ...#N`).

Entire-Checkpoint: 935a4a5217c0

* fix(#1044): end-anchor the surviving Merge #N patterns; regression test for the numeric-prefix collision

Second-pass QA: `Merge.*#104` still matched `Merge pull request #1043 …` by
numeric prefix — the same PR-vs-issue confusion as the removed `(#N)` form.
Both remaining patterns are now extended regexes ending in `([^0-9]|$)`.
Regression test covers issue 104 vs PR 1043 (false) and 1043 itself (true);
the real-git describe gets a 15s timeout instead of the unit default.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_0147heJNRw8wBBujPGMqxDpR

---------

Co-authored-by: t <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant