...
Created
December 8, 2025 19:18
-
-
Save sigridjineth/2f0ef5d1d56e884a84f1580de21db597 to your computer and use it in GitHub Desktop.
templates/experiment-skill-template/EXPRIMENT_NAME
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "EXPERIMENT_NAME", | |
| "version": "1.0.0", | |
| "description": "EXPERIMENT_DESCRIPTION", | |
| "author": { | |
| "name": "AUTHOR_NAME" | |
| }, | |
| "skills": "./skills", | |
| "repository": "https://github.com/sionic-ai/sionic-research-skills" | |
| } |
| name | description |
|---|---|
EXPERIMENT_NAME |
[Experiment Type] Skill. Usage: (1) [Scenario 1], (2) [Scenario 2], (3) [Scenario 3]. Tested on [Verification Model/Environment]. |
| Item | Details |
|---|---|
| Date | YYYY-MM-DD |
| Researcher | |
| Objective | |
| Model | |
| Dataset | |
| Environment | GPU: / Memory: |
[Specific execution method. Include commands and code]
# Example command[Description of next step]
[Continue...]
| Item | Setting/Method | Result | Remarks |
|---|---|---|---|
| Attempt | Reason for Failure | Lesson Learned |
|---|---|---|
# Settings ready to copy and use
model:
name:
training:
learning_rate:
batch_size:
epochs:
warmup_steps:
optimization:
# ...- Must Check:
- Common Mistakes:
- Environment Dependencies:
pip install transformers==X.X.X
pip install torch==X.X.X
# ...- GPU:
- VRAM:
- RAM:
# 1. [First Step]
python scripts/script1.py --arg value
# 2. [Second Step]
python scripts/script2.py --arg valuescripts/: Reusable experiment codereferences/experiment-log.md: Detailed experiment logreferences/hyperparameters.md: History of hyperparametersreferences/troubleshooting.md: Troubleshooting cases
- [ ]
- [ ]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Marketplace | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'plugins/**' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'plugins/**' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-marketplace: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Generate marketplace.json | |
| run: python scripts/generate_marketplace.py | |
| - name: Check for changes | |
| id: git-check | |
| run: | | |
| git diff --exit-code .claude-plugin/marketplace.json || echo "changed=true" >> $GITHUB_OUTPUT | |
| - name: Commit and push (main branch only) | |
| if: github.ref == 'refs/heads/main' && steps.git-check.outputs.changed == 'true' | |
| run: | | |
| git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git add .claude-plugin/marketplace.json | |
| git commit -m "chore: marketplace.json 자동 업데이트 | |
| [skip ci]" | |
| git push | |
| - name: Comment on PR (pull request only) | |
| if: github.event_name == 'pull_request' && steps.git-check.outputs.changed == 'true' | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| const marketplace = JSON.parse(fs.readFileSync('.claude-plugin/marketplace.json', 'utf8')); | |
| const plugins = marketplace.plugins.map(p => | |
| `- **${p.name}** (${p.category || 'unknown'}): ${p.description.substring(0, 80)}...` | |
| ).join('\n'); | |
| const body = `## 🔄 Marketplace 업데이트 감지 | |
| 이 PR이 머지되면 marketplace.json이 자동으로 업데이트됩니다. | |
| ### 등록된 플러그인 (${marketplace.plugins.length}개) | |
| ${plugins} | |
| --- | |
| *이 코멘트는 자동으로 생성되었습니다.*`; | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: body | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate Plugins | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'plugins/**' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Validate plugin structure | |
| run: python scripts/validate_plugins.py | |
| - name: Check SKILL.md exists | |
| run: | | |
| echo "Checking SKILL.md files..." | |
| errors=0 | |
| for plugin_json in $(find plugins -name "plugin.json" -path "*/.claude-plugin/*"); do | |
| plugin_dir=$(dirname $(dirname "$plugin_json")) | |
| plugin_name=$(jq -r '.name' "$plugin_json") | |
| # skills 폴더 확인 | |
| if [ ! -d "$plugin_dir/skills" ]; then | |
| echo "❌ Missing skills/ folder: $plugin_dir" | |
| errors=$((errors + 1)) | |
| continue | |
| fi | |
| # SKILL.md 확인 | |
| skill_md=$(find "$plugin_dir/skills" -name "SKILL.md" | head -1) | |
| if [ -z "$skill_md" ]; then | |
| echo "❌ Missing SKILL.md: $plugin_dir" | |
| errors=$((errors + 1)) | |
| else | |
| echo "✅ $plugin_name: $skill_md" | |
| fi | |
| done | |
| if [ $errors -gt 0 ]; then | |
| echo "" | |
| echo "Found $errors errors" | |
| exit 1 | |
| fi | |
| echo "" | |
| echo "All plugins validated successfully!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment