Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:02:32 +08:00
commit 47e0ce25e3
4 changed files with 116 additions and 0 deletions

View File

@@ -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"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# spec
Specification-driven development workflow with Orbit

57
hooks/hooks.json Normal file
View File

@@ -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"
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -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": []
}
}