feat(kyberforge): execute the plugin→APM conversion #95
@@ -28,7 +28,7 @@ repos:
|
|||||||
- id: pretty-format-json
|
- id: pretty-format-json
|
||||||
stages: ['pre-commit']
|
stages: ['pre-commit']
|
||||||
args: [--autofix]
|
args: [--autofix]
|
||||||
exclude: '(^|/)(\.claude-plugin/plugin\.json|\.github/plugin/plugin\.json|\.claude-plugin/marketplace\.json)$|^\.agents/plugins/marketplace\.json$'
|
exclude: '(^|/)(\.claude-plugin/plugin\.json|\.github/plugin/plugin\.json|\.claude-plugin/marketplace\.json|\.github/plugin/marketplace\.json)$|^\.agents/plugins/marketplace\.json$'
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
stages: ['pre-commit']
|
stages: ['pre-commit']
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
@@ -64,12 +64,12 @@ repos:
|
|||||||
|
|
||||||
- id: check-plugin-content-sync
|
- id: check-plugin-content-sync
|
||||||
name: Check plugin content sync
|
name: Check plugin content sync
|
||||||
description: Verify each plugin's flat skills/agents/commands/hooks.json mirror is in sync with .apm/ -- Claude Code has no .apm/ awareness so this compiled mirror must stay current (see issue #90)
|
description: Verify each plugin's flat skills/agents/commands/hooks/hooks.json mirror is in sync with .apm/ -- Claude Code has no .apm/ awareness so this compiled mirror must stay current (see issue #90)
|
||||||
entry: bash scripts/sync-plugin-content.sh --check --all
|
entry: bash scripts/sync-plugin-content.sh --check --all
|
||||||
language: system
|
language: system
|
||||||
stages: [pre-push]
|
stages: [pre-push]
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
files: '^(scripts/sync-plugin-content\.sh|\.claude-plugin/marketplace\.json|plugins/[^/]+/(apm\.yml|\.mcp\.json|hooks\.json|\.apm/|agents/|skills/|commands/|instructions/|extensions/))'
|
always_run: true
|
||||||
|
|
||||||
- id: check-marketplace-mirror-sync
|
- id: check-marketplace-mirror-sync
|
||||||
name: Check marketplace mirror sync
|
name: Check marketplace mirror sync
|
||||||
|
|||||||
Reference in New Issue
Block a user