Skip to content

Comments

refactor(skills): consolidate git into github, rename init-review to review (LISA-19, LISA-33)#210

Merged
TonyCasey merged 6 commits intomainfrom
lisa-19
Feb 6, 2026
Merged

refactor(skills): consolidate git into github, rename init-review to review (LISA-19, LISA-33)#210
TonyCasey merged 6 commits intomainfrom
lisa-19

Conversation

@TonyCasey
Copy link
Owner

@TonyCasey TonyCasey commented Feb 6, 2026

Summary

  • Consolidate git skill into github — merged the standalone git skill into the github skill so there's a single unified skill for all Git/GitHub operations
  • Rename init-review to review — cleaner, shorter skill name
  • Add PR description template — customizable pr-description-template.txt for end users
  • Make version bump optional (LISA-33) — new LISA_AUTO_BUMP_VERSION env var in .lisa/.env to disable or configure default bump type

Test plan

  • All 1614 unit tests pass (npm test)
  • Lint clean (npm run lint)
  • Build succeeds (npm run build)
  • 4 new tests for LISA_AUTO_BUMP_VERSION behavior (false/skip, env default, CLI override, unrecognized value)
  • Verify skill triggers work after rename (/github, /review)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • New PR skill for pull request workflows and CI operations
    • Version bumping CLI with environment-controlled behavior and a template setting
  • Refactor

    • Reorganized skills: /git and /init-review replaced with /github, /review, and /pr
  • Documentation

    • Expanded GitHub skill docs for PR/CI workflows; added PR description templates and env template
  • Tests

    • Added tests covering version bump behavior and env-driven variants

…review (LISA-19)

- Merge git skill content (CI triggers, version bumping, workflows) into github skill
- Move bump-version.ts from skills/git/ to skills/github/
- Add customizable pr-description-template.txt for PR body generation
- Rename init-review skill to review across all paths and references
- Update deploy script, init command, and CLAUDE.md skill table
- Add pr skill to symlink lists for claude and opencode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai
Copy link

coderabbitai bot commented Feb 6, 2026

📝 Walkthrough

Walkthrough

Replaces /git and /init-review with /github and /review, adds a /pr skill and a github bump-version CLI script; updates CLI command registrations, deployment scaffolding, package exports, skill docs, templates, and tests to match renamed/relocated skills and paths.

Changes

Cohort / File(s) Summary
Top-level docs & deploy
CLAUDE.md, scripts/deploy-lisa.js
Updated skill lists and deployment links to use review, github, and pr instead of git and init-review.
CLI commands & scaffolding
src/lib/commands/init.ts, src/lib/commands/skills.ts, src/lib/scanner/reviewer.ts
Renamed CLI subcommand init-reviewreview, relocated script paths, adjusted scaffolded skill sets for Claude/OpenCode, and updated scanner discovery paths.
Package exports
package.json
Replaced exports referencing git/init-review with github and review entries; bump-version export now points at ./dist/lib/skills/github/bump-version.js.
Git/GitHub skill docs
src/project/.lisa/skills/git/SKILL.md, src/project/.lisa/skills/github/SKILL.md, src/project/.lisa/skills/pr/SKILL.md
Removed old git SKILL.md, expanded github SKILL.md to cover GitHub workflows (PRs, CI, bumping), and adjusted pr skill cross-references to the consolidated github scope.
Review skill docs
src/project/.lisa/skills/review/SKILL.md
Renamed and updated wording/triggers from "Init Review" → "Review" and adjusted command examples to lisa review ....
Version bump feature & env
src/lib/skills/github/bump-version.ts, src/project/.lisa/.env.template
Added new bump-version CLI script under github and an env template LISA_AUTO_BUMP_VERSION toggle.
Tests for bump-version
tests/unit/src/lib/skills/github/bump-version.test.ts
Added/updated tests to cover LISA_AUTO_BUMP_VERSION behaviors (skip, patch, override, default) and updated script path.
PR templates
src/project/.lisa/skills/github/pr-description-template.txt, src/project/.lisa/skills/pr/pr-description-template.txt
Added PR description templates with Summary, Test plan, and Linked Issues placeholders.

Sequence Diagram(s)

sequenceDiagram
    participant CLI as CLI (bump-version)
    participant Env as Env Loader
    participant Service as VersionService
    participant Repo as Git Repo

    CLI->>Env: load LISA_AUTO_BUMP_VERSION, other env
    Env-->>CLI: env values
    CLI->>Service: createVersionService()
    CLI->>Service: validateBumpType(bumpType)
    Service-->>CLI: validation result
    CLI->>Service: bump(bumpType)
    Service->>Repo: update version tag/files & commit
    Repo-->>Service: result (new version)
    Service-->>CLI: bump result
    CLI->>CLI: print JSON result / exit
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: consolidating git into github and renaming init-review to review, which aligns with the comprehensive refactoring across multiple skill files, configuration, and exports.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch lisa-19

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai bot added the nate Nate Plan: Memory improvement features label Feb 6, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/project/.lisa/skills/review/SKILL.md (1)

106-108: 🧹 Nitpick | 🔵 Trivial

Marker file path references legacy naming.

The marker file .lisa/.init-review-done and log file .init-review.log (line 118) retain the old naming. If backward compatibility with existing installations is required, this is acceptable. Otherwise, consider updating these to .review-done and .review.log for consistency.

🤖 Fix all issues with AI agents
In `@src/project/.lisa/skills/github/SKILL.md`:
- Around line 424-434: Update the CircleCI examples in SKILL.md to stop relying
on the fragile "$(cat ~/.circleci/cli.yml | grep token | awk '{print $2}')"
pattern: add a prerequisite note describing the expected CircleCI CLI YAML
format, provide a recommended alternative using the $CIRCLE_TOKEN environment
variable, and replace the extraction example with a more robust form using "grep
token ~/.circleci/cli.yml 2>/dev/null | awk '{print $2}'" (or mention other
parsing options) plus a brief error-handling note that the file may be missing
or malformed and how to fall back to $CIRCLE_TOKEN; ensure the doc references
the two example blocks for "Get latest pipeline for a branch" and "Get workflow
status for a pipeline" so both curl commands are updated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Fix all issues with AI agents
In `@src/project/.lisa/skills/github/SKILL.md`:
- Around line 492-507: The headings "## Cross-model checklist", "## Notes", and
"## See Also" are missing surrounding blank lines; update the SKILL.md content
so each of these heading lines has a blank line immediately before and after
them (i.e., insert one empty line above and one empty line below each of "##
Cross-model checklist", "## Notes", and "## See Also") to satisfy markdownlint
MD022 and preserve existing paragraph content and list formatting.
- Around line 448-491: The numbered workflow steps under the "Workflow: Push
with Version Bump" and "Workflow: PR Test Failure" sections contain fenced code
blocks that lack surrounding blank lines (MD031); edit the SKILL.md content so
each fenced block (the ```bash blocks in the "Bump version", "Commit the version
bump", "Push to remote" steps and the multi-line gh pr edit block in "Retrigger
tests") has a blank line both immediately before and immediately after the
fenced block, preserving existing indentation and wording.
- Around line 402-447: The "Git Workflows" section has Markdownlint errors
MD022/MD031 because headings (e.g., "Check PR Status", "Retrigger CI Tests",
"Check CircleCI Pipeline Status", "Poll CI Until Completion") and the fenced
code blocks (triple-backtick blocks showing bash commands) are not separated by
blank lines; fix by adding a single blank line before and after each heading and
before and after each fenced code block (the ```bash blocks) so every heading
and fenced block is surrounded by an empty line.

…SION env (LISA-33)

Add LISA_AUTO_BUMP_VERSION setting to .lisa/.env that controls whether
version bumping runs: true (default), false (skip), or a bump type
(patch/minor/major) to set the default. CLI args always override.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@TonyCasey TonyCasey changed the title refactor(skills): consolidate git into github, rename init-review to review refactor(skills): consolidate git into github, rename init-review to review (LISA-19, LISA-33) Feb 6, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@tests/unit/src/lib/skills/git/bump-version.test.ts`:
- Around line 16-17: Move the bump-version.test.ts test into the github skill
directory under tests/unit/src/lib/skills (so the tests mirror the src/lib
hierarchy) and update the file name/location accordingly; inside the test update
the SCRIPT_PATH constant and any import/reference that still points to the old
"git" location to reference the compiled bump-version.js under the github skill
(i.e., ensure SCRIPT_PATH and any require/imports reference the github path) so
the unit test structure matches the source structure and all references resolve.

TonyCasey and others added 3 commits February 6, 2026 11:21
- Move bump-version.test.ts from skills/git/ to skills/github/ to
  mirror source structure
- Fix markdownlint MD022/MD031: add blank lines around headings and
  fenced code blocks in SKILL.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add git-rules.md, git-rules.local.md, memory-rules.md, task-rules.md
  to rules scaffolding in init command
- Allow .txt and .json files through skills copy filter so
  pr-description-template.txt is included
- Update package.json exports for renamed skill paths
  (git -> github, init-review -> review)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…A-19)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@TonyCasey TonyCasey merged commit 1874fda into main Feb 6, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nate Nate Plan: Memory improvement features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant