Reorganise as a marketplace with multiple focused plugins: - claude/code: Core development (hooks, scripts, data collection) - claude/review: Code review automation - claude/verify: Work verification - claude/qa: Quality assurance loops - claude/ci: CI/CD integration Structure: - .claude-plugin/marketplace.json lists all plugins - Each plugin has its own .claude-plugin/plugin.json - Commands namespaced: /code:*, /review:*, /qa:*, etc. Install individual plugins or all via marketplace: claude plugin add host-uk/core-agent claude plugin add host-uk/core-agent/claude/code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
76 lines
1.1 KiB
Markdown
76 lines
1.1 KiB
Markdown
---
|
|
name: workflow
|
|
description: Create or update GitHub Actions workflow
|
|
args: <workflow-type>
|
|
---
|
|
|
|
# Workflow Generator
|
|
|
|
Create or update GitHub Actions workflows.
|
|
|
|
## Workflow Types
|
|
|
|
### test
|
|
Standard test workflow for Go/PHP projects.
|
|
|
|
### lint
|
|
Linting workflow with golangci-lint or PHPStan.
|
|
|
|
### release
|
|
Release workflow with goreleaser or similar.
|
|
|
|
### deploy
|
|
Deployment workflow (requires configuration).
|
|
|
|
## Usage
|
|
|
|
```
|
|
/ci:workflow test
|
|
/ci:workflow lint
|
|
/ci:workflow release
|
|
```
|
|
|
|
## Templates
|
|
|
|
### Go Test Workflow
|
|
```yaml
|
|
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.22'
|
|
- run: go test -v ./...
|
|
```
|
|
|
|
### PHP Test Workflow
|
|
```yaml
|
|
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.3'
|
|
- run: composer install
|
|
- run: composer test
|
|
```
|