Skip to content

Commit bcea817

Browse files
committed
Add standardized installation, composer.json, release workflow
- Add composer.json for PHP distribution via netresearch/agent-cli-tools - Update README.md with three installation methods (marketplace, release, composer) - Add GitHub Actions release workflow for packaging
1 parent da8b3d3 commit bcea817

File tree

3 files changed

+84
-1
lines changed

3 files changed

+84
-1
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 ../cli-tools-${{ steps.version.outputs.version }}.zip .
41+
tar -czvf ../cli-tools-${{ 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+
cli-tools-${{ steps.version.outputs.version }}.zip
48+
cli-tools-${{ steps.version.outputs.version }}.tar.gz
49+
generate_release_notes: true
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,19 @@ Automatically detects project types and their requirements:
3939

4040
## Installation
4141

42-
### As a Claude Code Skill
42+
### Option 1: Via Netresearch Marketplace (Recommended)
43+
44+
```bash
45+
/plugin marketplace add netresearch/claude-code-marketplace
46+
```
47+
48+
Then browse skills with `/plugin`.
49+
50+
### Option 2: Download Release
51+
52+
Download the [latest release](https://github.com/netresearch/cli-tools-skill/releases/latest) and extract to `~/.claude/skills/cli-tools/`
53+
54+
### Option 3: Manual Installation
4355

4456
```bash
4557
# Copy to your skills directory

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-cli-tools",
3+
"description": "CLI tool management for coding agents. Use when a command fails with 'command not found', installing/updating CLI tools, setting up project environments, or checking dependencies. Provides auto-instal",
4+
"type": "ai-agent-skill",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Netresearch DTT GmbH",
9+
"email": "[email protected]",
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)