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
37 changes: 37 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "error-handling",
"description": "Single-plugin marketplace for error-handling: RFC 9457 dual-consumer CLI error envelopes, source-code error-handling review, and LLM-agent consumer-side interpretation of those envelopes.",
"version": "1.0.0",
"owner": {
"name": "zircote",
"email": "zircote@zircote.com"
},
"plugins": [
{
"name": "error-handling",
"source": "./",
"description": "Three sibling skills covering the full CLI/code error-handling lifecycle: cdc-err (RFC 9457 dual-consumer envelopes for CLI output), cdc-review (source-code error-handling review across any language), and cdc-handle (LLM-agent consumer-side interpretation and action on cdc-err envelopes in tool_result payloads).",
"author": {
"name": "zircote",
"email": "zircote@zircote.com"
},
"license": "MIT",
"keywords": [
"cli",
"error-handling",
"rfc-9457",
"problem-details",
"dual-consumer",
"agent-tooling",
"stderr",
"exit-codes",
"machine-readable-errors",
"structured-errors",
"code-review",
"cdc-err",
"cdc-review",
"cdc-handle"
]
}
]
}
4 changes: 3 additions & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "error-handling",
"version": "0.3.0",
"version": "0.4.0",
"description": "Three sibling skills covering the full CLI/code error-handling lifecycle: cdc-err (RFC 9457 dual-consumer envelopes for CLI output), cdc-review (source-code error-handling review across any language), and cdc-handle (LLM-agent consumer-side interpretation and action on cdc-err envelopes in tool_result payloads).",
"author": {
"name": "zircote",
"email": "zircote@zircote.com",
"url": "https://github.com/zircote"
},
"homepage": "https://github.com/zircote/cdc-error-handling",
"repository": "https://github.com/zircote/cdc-error-handling",
"license": "MIT",
"keywords": [
"cli",
Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
name: CI

# Validate the plugin/marketplace manifests and the workflow files themselves
# on every push and PR.

"on":
push:
branches: [develop]
pull_request:
branches: [develop]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
# Every `uses:` in .github/workflows MUST be pinned to a full 40-char commit
# SHA, never a mutable tag or branch (supply-chain hardening: a compromised
# tag/branch can't silently change what a workflow runs). Local reusable
# calls (`uses: ./...`) are exempt (the action's own documented behavior).
pin-check:
name: pin-check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@3db98c0363e2fa5df3e1c4c471777a7c10b24cc9 # v5.0.5

actionlint:
name: actionlint
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Run actionlint
uses: reviewdog/action-actionlint@6fb7acc99f4a1008869fa8a0f09cfca740837d9d # v1.72.0
with:
fail_level: error
reporter: github-check

validate:
name: claude plugin validate
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install Claude Code CLI (pinned)
env:
CLAUDE_VERSION: "2.1.199"
run: npm install -g "@anthropic-ai/claude-code@${CLAUDE_VERSION}"
- name: Validate marketplace + plugin manifest
run: claude plugin validate . --strict
Loading