From 47e0ce25e3e88407c0dafd67211461a1ad6793d7 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:02:32 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++++ README.md | 3 ++ hooks/hooks.json | 57 ++++++++++++++++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..b444210 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "spec", + "description": "Specification-driven development workflow with Orbit", + "version": "3.0.0", + "author": { + "name": "spec-flow" + }, + "hooks": [ + "./hooks/hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..86496e4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# spec + +Specification-driven development workflow with Orbit diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..c297cb1 --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,57 @@ +{ + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/orbit-context.sh", + "description": "Inject Orbit context for /orbit command" + } + ] + } + ], + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/orbit-init.sh" + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "Write|Edit", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/orbit-protect.sh" + } + ] + } + ], + "PostToolUse": [ + { + "matcher": "Write|Edit|Skill", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/orbit-log.sh" + } + ] + } + ], + "SubagentStop": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/orbit-log.sh" + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..203c341 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:BrendanShields/spec-flow:plugins/spec", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "9c991156f54c652e5bb4dad1ff3b791bb212ffe1", + "treeHash": "ffd2a699a69c3b36fbd36bae96a2a1cc5e25a354c65e6362476ade30334ade27", + "generatedAt": "2025-11-28T10:09:58.892962Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "spec", + "description": "Specification-driven development workflow with Orbit", + "version": "3.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "ec7560bcf509c06f37b7c72c88d971010cf1178d74458582fdf98b6aae21d423" + }, + { + "path": "hooks/hooks.json", + "sha256": "33ffde6fa4b250722c388d2c45c743f9551ed3ff2ba51dcba949002649417f60" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "82d6ef71b226b80d63610c9953ae6fac60937ecde8b9c74fd16d463ef5ce9d1e" + } + ], + "dirSha256": "ffd2a699a69c3b36fbd36bae96a2a1cc5e25a354c65e6362476ade30334ade27" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file