Migrate lint workflow to skillsaw GitHub Action - #456
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe Lint Plugins workflow now grants ChangesLint Plugins Workflow
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 10✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
♻️ Duplicate comments (1)
plugins/Oops/.claude-plugin/plugin.json (1)
1-1:⚠️ Potential issue | 🟡 MinorMissing recommended fields (already flagged by skillsaw).
The skillsaw bot has already identified that this plugin manifest is missing recommended fields:
description,version, andauthor. This appears to be intentional test data based on the commit message.Remember to remove this test plugin before merging to main.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@plugins/Oops/.claude-plugin/plugin.json` at line 1, The plugin manifest for the plugin with "name": "Oops" is missing recommended fields; update plugins/Oops/.claude-plugin/plugin.json to add the missing fields "description", "version", and "author" alongside the existing "name" entry, providing a short human-readable description, a semantic version string (e.g., "1.0.0"), and an author object or string; ensure the JSON stays valid and remove or flag this test plugin before merging to main if it’s not intended for production.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/lint-plugins.yml:
- Line 21: The workflow is pinning the GitHub Action to a mutable tag
"stbenjam/skillsaw@v0"; replace that mutable ref with the action's immutable
commit SHA (e.g., "stbenjam/skillsaw@<commit-sha>") to eliminate supply-chain
risk and keep the human-readable tag by adding an inline comment preserving
"@v0" for readability; locate the uses entry "stbenjam/skillsaw@v0" in the
workflow and update it to the specific commit SHA while keeping the version tag
as a comment.
In `@plugins/Oops/skills/Bad-Skill/SKILL.md`:
- Around line 1-4: The SKILL.md for "Bad-Skill" contains a placeholder
description ("123") used for testing; remove this test plugin or replace the
description field in SKILL.md for Bad-Skill with a meaningful summary and intent
(or delete the entire Bad-Skill plugin/manifest added for the TEMP test) before
merging to main so no intentional violations remain in the repository.
---
Duplicate comments:
In `@plugins/Oops/.claude-plugin/plugin.json`:
- Line 1: The plugin manifest for the plugin with "name": "Oops" is missing
recommended fields; update plugins/Oops/.claude-plugin/plugin.json to add the
missing fields "description", "version", and "author" alongside the existing
"name" entry, providing a short human-readable description, a semantic version
string (e.g., "1.0.0"), and an author object or string; ensure the JSON stays
valid and remove or flag this test plugin before merging to main if it’s not
intended for production.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 2e6f2e69-45e9-46db-bf45-40ee77b61c25
📒 Files selected for processing (3)
.github/workflows/lint-plugins.ymlplugins/Oops/.claude-plugin/plugin.jsonplugins/Oops/skills/Bad-Skill/SKILL.md
119ac52 to
ce0fd5e
Compare
Replace the Docker-based linting setup with the skillsaw GitHub Action. Pin to commit SHA with contents: read + pull-requests: write permissions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b8455cd to
8b112d2
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, stbenjam The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
Example: in-line comments #456 (comment)
What changed
The
lint-plugins.ymlworkflow now usesstbenjam/skillsaw@v0instead of building and running a Docker container. The action installs skillsaw via pip, runs the linter, and posts results as individual PR comments.Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit