Loading...
Loading...
Configure .claude/settings.json and GitHub Actions workflows to use the laurigates/claude-plugins marketplace
npx skill4agent add laurigates/claude-plugins configure-claude-pluginslaurigates/claude-plugins.claude/settings.jsonclaude.ymlclaude-code-review.yml| Use this skill when... | Use another approach when... |
|---|---|
| Onboarding a new project to use Claude Code plugins | Configuring Claude Code settings unrelated to plugins |
Setting up | Creating general GitHub Actions workflows ( |
Adding the | Installing individual plugins manually |
Merging plugin permissions into existing | Debugging Claude Code action failures (check GitHub Actions logs) |
| Selecting recommended plugins based on project type | Developing new plugins (see CLAUDE.md plugin lifecycle) |
find . -maxdepth 1 -name \'.claude/settings.json\' 2>/dev/nullfind .github/workflows -maxdepth 1 -name 'claude*.yml' 2>/dev/nullgit remote get-url origin 2>/dev/nullfind . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'Dockerfile' \) 2>/dev/nullfind . -maxdepth 1 -type d -name \'.github/workflows\' 2>/dev/null| Parameter | Description |
|---|---|
| Report current configuration status without changes |
| Apply configuration automatically |
| Comma-separated list of plugins to install (default: all recommended) |
.claude/settings.json.github/workflows/claude.yml.github/workflows/claude-code-review.yml.claude/settings.json{
"permissions": {
"allow": [
"Bash(git status *)",
"Bash(git diff *)",
"Bash(git log *)",
"Bash(git branch *)",
"Bash(git add *)",
"Bash(git commit *)",
"Bash(git push *)",
"Bash(git remote *)",
"Bash(git checkout *)",
"Bash(git fetch *)",
"Bash(gh pr *)",
"Bash(gh run *)",
"Bash(gh issue *)",
"Bash(pre-commit *)",
"Bash(gitleaks *)",
"mcp__context7",
"mcp__sequential-thinking"
]
}
}.claude/settings.jsonpermissions.allowhooksenv.github/workflows/claude.ymlname: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
permissions:
contents: write
pull-requests: write
issues: write
id-token: write
jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'issues' && contains(github.event.issue.body, '@claude'))
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run Claude Code
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
plugin_marketplaces: |
https://github.com/laurigates/claude-plugins.git
plugins: |
PLUGINS_LISTPLUGINS_LISTplugin-name@laurigates-claude-plugins.github/workflows/claude-code-review.ymlname: Claude Code Review
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
issues: write
jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Claude Code Review
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
prompt: |
Review this pull request. Focus on:
- Code quality and best practices
- Potential bugs or security issues
- Test coverage gaps
- Documentation needs
claude_args: "--max-turns 5"
plugin_marketplaces: |
https://github.com/laurigates/claude-plugins.git
plugins: |
code-quality-plugin@laurigates-claude-plugins
testing-plugin@laurigates-claude-plugins--plugins| Project Indicator | Recommended Plugins |
|---|---|
| |
| |
| |
| Above + |
| Above + |
| Default (any) | |
Claude Plugins Configuration Report
=====================================
Repository: <repo-name>
.claude/settings.json:
Status: <CREATED|UPDATED|EXISTS>
Permissions: <N> allowed patterns configured
.github/workflows/claude.yml:
Status: <CREATED|UPDATED|EXISTS>
Marketplace: laurigates/claude-plugins
Plugins: <list>
.github/workflows/claude-code-review.yml:
Status: <CREATED|UPDATED|EXISTS>
Trigger: PR opened/synchronize/reopened
Plugins: <list>
Next Steps:
1. Add CLAUDE_CODE_OAUTH_TOKEN to repository secrets
Settings > Secrets and variables > Actions > New repository secret
2. Commit and push the new workflow files
3. Test by mentioning @claude in a PR comment| Context | Command |
|---|---|
| Quick status check | |
| Auto-configure all | |
| Specific plugins only | |
| Verify settings exist | |
| List Claude workflows | |
| Flag | Description |
|---|---|
| Report current status without making changes |
| Apply all configuration automatically |
| Override automatic plugin selection |
CLAUDE_CODE_OAUTH_TOKENhttps://github.com/laurigates/claude-plugins.git<plugin-name>@laurigates-claude-plugins/configure:workflows/configure:allclaude-security-settings