Skip to content

Commit 3039693

Browse files
committed
Add standardized installation, composer.json, release workflow
- Add composer.json for PHP distribution via netresearch/agent-github-project - Add GitHub Actions release workflow for packaging - Minor SKILL.md formatting improvements
1 parent a8e7272 commit 3039693

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

.github/workflows/release.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
name: Create Release
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Harden Runner
18+
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
19+
with:
20+
egress-policy: audit
21+
22+
- name: Checkout
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
25+
- name: Get version from tag
26+
id: version
27+
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
28+
29+
- name: Create skill package
30+
run: |
31+
mkdir -p dist
32+
cp SKILL.md dist/
33+
cp LICENSE dist/
34+
[ -d "references" ] && cp -r references dist/
35+
[ -d "scripts" ] && cp -r scripts dist/
36+
[ -d "assets" ] && cp -r assets dist/
37+
[ -d "templates" ] && cp -r templates dist/
38+
[ -d "skills" ] && cp -r skills dist/
39+
cd dist
40+
zip -r ../github-project-${{ steps.version.outputs.version }}.zip .
41+
tar -czvf ../github-project-${{ steps.version.outputs.version }}.tar.gz .
42+
43+
- name: Create GitHub Release
44+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
45+
with:
46+
files: |
47+
github-project-${{ steps.version.outputs.version }}.zip
48+
github-project-${{ steps.version.outputs.version }}.tar.gz
49+
generate_release_notes: true
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

SKILL.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,24 @@ GitHub platform configuration and repository management patterns. This skill foc
7474
- "prevent master branch"
7575
- "block master from being created"
7676

77+
## Installation
78+
79+
### Option 1: Via Netresearch Marketplace (Recommended)
80+
81+
```bash
82+
/plugin marketplace add netresearch/claude-code-marketplace
83+
```
84+
85+
Then browse skills with `/plugin`.
86+
87+
### Option 2: Download Release
88+
89+
Download the [latest release](https://github.com/netresearch/github-project-skill/releases/latest) and extract to `~/.claude/skills/github-project/`
90+
91+
### Option 3: Manual Installation
92+
93+
Clone or download this repository to your Claude Code skills directory.
94+
7795
## Workflows
7896

7997
### New Repository Setup
@@ -480,6 +498,10 @@ gh project create --title "Project Name"
480498
| `templates/auto-merge-direct.yml.template` | Auto-merge without branch protection |
481499
| `scripts/verify-github-project.sh` | Verification script for project setup |
482500

501+
---
502+
503+
**Made with ❤️ for Open Source by [Netresearch](https://www.netresearch.de/)**
504+
483505
## Verification
484506

485507
To check GitHub project configuration:

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "netresearch/agent-github-project",
3+
"description": "GitHub repository setup and platform-specific features. This skill should be used when creating new GitHub repositories, configuring branch protection rules, setting up GitHub Issues/Discussions/Proje",
4+
"type": "ai-agent-skill",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Netresearch DTT GmbH",
9+
"email": "plugins@netresearch.de",
10+
"homepage": "https://www.netresearch.de/",
11+
"role": "Manufacturer"
12+
}
13+
],
14+
"require": {
15+
"netresearch/composer-agent-skill-plugin": "*"
16+
},
17+
"extra": {
18+
"ai-agent-skill": "SKILL.md"
19+
}
20+
}

0 commit comments

Comments
 (0)