Skip to content

Commit d4b95ec

Browse files
committed
initial commit
0 parents  commit d4b95ec

77 files changed

Lines changed: 15283 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main ]
8+
release:
9+
types: [created]
10+
11+
jobs:
12+
test:
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
matrix:
17+
os: [ubuntu-latest, macos-latest, windows-latest]
18+
node-version: [18.x, 20.x, 22.x]
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
cache: 'npm'
28+
29+
- name: Install dependencies
30+
run: npm ci
31+
32+
- name: Run tests
33+
run: npm test
34+
35+
- name: Run verification
36+
run: npm run verify
37+
38+
- name: Upload test results
39+
if: always()
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: test-results-${{ matrix.os }}-${{ matrix.node-version }}
43+
path: |
44+
test-results/
45+
coverage/
46+
47+
lint:
48+
runs-on: ubuntu-latest
49+
50+
steps:
51+
- uses: actions/checkout@v4
52+
53+
- name: Use Node.js 20.x
54+
uses: actions/setup-node@v4
55+
with:
56+
node-version: 20.x
57+
cache: 'npm'
58+
59+
- name: Install dependencies
60+
run: npm ci
61+
62+
- name: Run linting
63+
run: npm run lint
64+
65+
- name: Run formatting check
66+
run: npx prettier --check "**/*.{js,json,md}"
67+
68+
publish:
69+
needs: [test, lint]
70+
runs-on: ubuntu-latest
71+
if: github.event_name == 'release' && github.event.action == 'created'
72+
73+
steps:
74+
- uses: actions/checkout@v4
75+
76+
- name: Use Node.js 20.x
77+
uses: actions/setup-node@v4
78+
with:
79+
node-version: 20.x
80+
registry-url: 'https://registry.npmjs.org'
81+
82+
- name: Install dependencies
83+
run: npm ci
84+
85+
- name: Verify release
86+
run: npm run verify
87+
88+
- name: Extract version from tag
89+
id: get_version
90+
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
91+
92+
- name: Update package.json version
93+
run: |
94+
npm version ${{ steps.get_version.outputs.VERSION }} --no-git-tag-version
95+
cat package.json | grep version
96+
97+
- name: Publish to npm
98+
run: npm publish
99+
env:
100+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
101+
102+
- name: Create GitHub Release
103+
uses: softprops/action-gh-release@v1
104+
with:
105+
generate_release_notes: true
106+
files: |
107+
package.json
108+
CHANGELOG.md
109+
env:
110+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
111+
112+
deploy-docs:
113+
needs: [test]
114+
runs-on: ubuntu-latest
115+
if: github.ref == 'refs/heads/main'
116+
117+
steps:
118+
- uses: actions/checkout@v4
119+
120+
- name: Deploy to GitHub Pages
121+
uses: peaceiris/actions-gh-pages@v3
122+
with:
123+
github_token: ${{ secrets.GITHUB_TOKEN }}
124+
publish_dir: ./documentation
125+
publish_branch: gh-pages
126+
keep_files: false

.gitignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Environment files
2+
.env
3+
.env.local
4+
.env.*.local
5+
6+
# API keys
7+
*.key
8+
*.pem
9+
secrets.json
10+
11+
# OS files
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Editor files
16+
.idea/
17+
.vscode/
18+
*.swp
19+
*.swo
20+
21+
# Node
22+
node_modules/
23+
24+
# Personal configs (if any)
25+
personal/
26+
private/
27+
28+
# Session templates (not committed)
29+
examples/sessions/*.tmp

.opencode-plugin/marketplace.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "everything-opencode",
3+
"owner": {
4+
"name": "Adapted from Affaan Mustafa's everything-claude-code",
5+
"email": "opencode@example.com"
6+
},
7+
"metadata": {
8+
"description": "Battle-tested opencode configurations adapted from everything-claude-code with opencode-specific optimizations"
9+
},
10+
"plugins": [
11+
{
12+
"name": "everything-opencode",
13+
"source": "./",
14+
"description": "Complete collection of agents, skills, plugins, commands, and rules adapted from everything-claude-code with opencode-specific optimizations (LSP, multi-provider, TUI)",
15+
"author": {
16+
"name": "Adapted from Affaan Mustafa"
17+
},
18+
"homepage": "https://github.com/anomalyco/opencode",
19+
"repository": "https://github.com/anomalyco/opencode",
20+
"license": "MIT",
21+
"keywords": [
22+
"agents",
23+
"skills",
24+
"plugins",
25+
"commands",
26+
"tdd",
27+
"code-review",
28+
"security",
29+
"best-practices",
30+
"lsp",
31+
"multi-provider",
32+
"tui"
33+
],
34+
"category": "workflow",
35+
"tags": [
36+
"agents",
37+
"skills",
38+
"plugins",
39+
"commands",
40+
"tdd",
41+
"code-review",
42+
"security",
43+
"best-practices",
44+
"lsp",
45+
"multi-provider",
46+
"tui"
47+
]
48+
}
49+
]
50+
}

.opencode-plugin/plugin.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "everything-opencode",
3+
"description": "Complete collection of battle-tested opencode configs - agents, skills, plugins, commands, and rules adapted from everything-claude-code with opencode-specific optimizations",
4+
"author": {
5+
"name": "Adapted from Affaan Mustafa's everything-claude-code",
6+
"url": "https://github.com/affaan-m/everything-claude-code"
7+
},
8+
"homepage": "https://github.com/anomalyco/opencode",
9+
"repository": "https://github.com/anomalyco/opencode",
10+
"license": "MIT",
11+
"keywords": [
12+
"opencode",
13+
"agents",
14+
"skills",
15+
"plugins",
16+
"commands",
17+
"rules",
18+
"tdd",
19+
"code-review",
20+
"security",
21+
"workflow",
22+
"automation",
23+
"best-practices",
24+
"lsp",
25+
"multi-provider",
26+
"tui"
27+
],
28+
"version": "1.0.0",
29+
"engines": {
30+
"opencode": ">=1.0.0"
31+
},
32+
"main": "./plugins/index.js",
33+
"files": [
34+
"agents/",
35+
"skills/",
36+
"commands/",
37+
"rules/",
38+
"plugins/",
39+
"scripts/",
40+
"contexts/",
41+
"examples/",
42+
"mcp-configs/"
43+
]
44+
}

.opencode/package-manager.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"packageManager": "bun",
3+
"setAt": "2026-01-23T02:09:58.819Z"
4+
}

0 commit comments

Comments
 (0)