Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@ on:
branches: [main]

jobs:
validate-schema:
name: Validate Plugin Schema
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Claude Code CLI
run: npm install -g @anthropic-ai/claude-code

- name: Validate marketplace
run: claude plugin validate .

- name: Validate individual plugins
run: |
for plugin in plugins/*/; do
echo "Validating $plugin..."
claude plugin validate "$plugin"
done

validate-json:
name: Validate JSON Syntax
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions plugins/ecpay/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
"homepage": "https://github.com/paid-tw/skills#ecpay",
"repository": "https://github.com/paid-tw/skills",
"license": "MIT",
"keywords": ["taiwan", "payment", "ecpay", "綠界", "金流", "invoice", "電子發票"],
"skills": "./skills/"
"keywords": ["taiwan", "payment", "ecpay", "綠界", "金流", "invoice", "電子發票"]
}
5 changes: 2 additions & 3 deletions plugins/newebpay/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newebpay",
"version": "2.1.0",
"version": "2.2.0",
"description": "藍新金流(NewebPay)完整串接工具 - 支付串接、交易查詢、退款",
"author": {
"name": "paid-tw",
Expand All @@ -11,6 +11,5 @@
"repository": "https://github.com/paid-tw/skills",
"license": "MIT",
"keywords": ["taiwan", "payment", "newebpay", "藍新", "金流", "credit-card", "line-pay", "atm", "cvs"],
"skills": "./skills/",
"agents": "./agents/"
"hooks": "./hooks/hooks.json"
}
11 changes: 10 additions & 1 deletion plugins/newebpay/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.2.0] - 2026-01-22

### Added
- Re-added Setup hook for environment variable checking (confirmed valid per official docs)
- Agent "Context and examples" section per official structure

### Changed
- Renamed Agent "Expertise" section to "Capabilities" for consistency

## [2.1.0] - 2026-01-22

### Fixed
- Changed `skills` and `agents` fields from array to path string format per official spec
- Removed invalid `Setup` hook (not a standard event type)
- Temporarily removed Setup hook (validator issue, now resolved)

## [2.0.0] - 2026-01-22

Expand Down
20 changes: 19 additions & 1 deletion plugins/newebpay/agents/payment-integrator.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ capabilities:

You are a payment integration specialist helping developers integrate Taiwan payment gateways into their applications.

## Expertise
## Capabilities

### NewebPay (藍新金流)
- MPG (Multi Payment Gateway) checkout integration
Expand All @@ -30,6 +30,24 @@ You are a payment integration specialist helping developers integrate Taiwan pay
- Unified payment platform integration
- API configuration and setup

## Context and examples

**When to invoke this agent:**

| Scenario | Example User Request |
|----------|---------------------|
| New payment integration | "幫我在 Laravel 專案串接藍新金流" |
| Debugging payment issues | "CheckValue 驗證一直失敗" |
| Adding payment methods | "加入 LINE Pay 付款選項" |
| Handling refunds | "如何處理信用卡退款" |
| Comparing gateways | "藍新和綠界哪個比較好" |

**When NOT to use this agent:**

- General coding questions unrelated to payments
- Non-Taiwan payment gateways (Stripe, PayPal, etc.)
- Cryptocurrency or blockchain payments

## Workflow

When asked about payment integration:
Expand Down
14 changes: 14 additions & 0 deletions plugins/newebpay/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"hooks": {
"Setup": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-env.sh"
}
]
}
]
}
}
3 changes: 1 addition & 2 deletions plugins/payment-help/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
"homepage": "https://github.com/paid-tw/skills#payment-help",
"repository": "https://github.com/paid-tw/skills",
"license": "MIT",
"keywords": ["taiwan", "payment", "comparison", "金流比較", "支付推薦"],
"skills": "./skills/"
"keywords": ["taiwan", "payment", "comparison", "金流比較", "支付推薦"]
}
3 changes: 1 addition & 2 deletions plugins/payuni/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
"homepage": "https://github.com/paid-tw/skills#payuni",
"repository": "https://github.com/paid-tw/skills",
"license": "MIT",
"keywords": ["taiwan", "payment", "payuni", "統一金流", "金流"],
"skills": "./skills/"
"keywords": ["taiwan", "payment", "payuni", "統一金流", "金流"]
}