Skip to content

Commit 5d60c89

Browse files
author
zhonghui
committed
bug fixed: skill name illegal
1 parent 96e7783 commit 5d60c89

12 files changed

Lines changed: 204 additions & 6 deletions

File tree

skills/crew-agents/SKILL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: crew:agents
2+
name: crew.agents
33
user-invocable: true
44
description: List available domain specialists that can be activated for the DevCrew team — covering game dev, security, DevOps, AI/ML, and more.
55
metadata:
@@ -9,6 +9,15 @@ metadata:
99

1010
# crew agents — 列出可用领域专家
1111

12+
## Pre-flight Check
13+
14+
Run the `check.sh` script in this skill's directory:
15+
16+
- If `STATUS: NOT_INITIALIZED` → Stop. Tell the user: "DevCrew 工作区尚未初始化,请先运行 /crew.init"
17+
- If `STATUS: INITIALIZED` → Use the output as workspace context. Proceed below.
18+
19+
---
20+
1221
查看所有可用的领域专家(Domain Specialists),了解每位专家的名称、所属领域和适用的 PDEVI 阶段。
1322

1423
## 何时使用

skills/crew-agents/check.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
# DevCrew workspace status check — compact output for AI agent consumption.
3+
# Exit 0 = initialized, Exit 1 = not initialized.
4+
5+
if [ ! -d "dev-crew" ] || [ ! -f "INSTRUCTIONS.md" ]; then
6+
echo "STATUS: NOT_INITIALIZED"
7+
echo "ACTION: Run /crew.init to create the workspace."
8+
exit 1
9+
fi
10+
11+
echo "STATUS: INITIALIZED"
12+
13+
# Compact resume summary
14+
if [ -f "dev-crew/resume.md" ]; then
15+
sed -n '/^---$/,/^---$/{ /^---$/d; p; }' dev-crew/resume.md 2>/dev/null
16+
fi
17+
18+
# Open blockers count
19+
if [ -f "dev-crew/blockers.md" ]; then
20+
OPEN=$(grep -c '^\## \[OPEN\]' dev-crew/blockers.md 2>/dev/null || echo 0)
21+
echo "open_blockers: $OPEN"
22+
fi
23+
24+
exit 0

skills/crew-checkpoint/SKILL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: crew:checkpoint
2+
name: crew.checkpoint
33
user-invocable: true
44
description: Run a phase audit and consistency check on the current change. Validates all checklist items before advancing to the next PDEVI phase.
55
metadata:
@@ -9,6 +9,15 @@ metadata:
99

1010
# crew checkpoint — 阶段审计与一致性检查
1111

12+
## Pre-flight Check
13+
14+
Run the `check.sh` script in this skill's directory:
15+
16+
- If `STATUS: NOT_INITIALIZED` → Stop. Tell the user: "DevCrew 工作区尚未初始化,请先运行 /crew.init"
17+
- If `STATUS: INITIALIZED` → Use the output as workspace context. Proceed below.
18+
19+
---
20+
1221
对当前活跃变更执行阶段审计,检查所有审计项是否通过,确保一致性后推进到下一阶段。
1322

1423
## 何时使用

skills/crew-checkpoint/check.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
# DevCrew workspace status check — compact output for AI agent consumption.
3+
# Exit 0 = initialized, Exit 1 = not initialized.
4+
5+
if [ ! -d "dev-crew" ] || [ ! -f "INSTRUCTIONS.md" ]; then
6+
echo "STATUS: NOT_INITIALIZED"
7+
echo "ACTION: Run /crew.init to create the workspace."
8+
exit 1
9+
fi
10+
11+
echo "STATUS: INITIALIZED"
12+
13+
# Compact resume summary
14+
if [ -f "dev-crew/resume.md" ]; then
15+
sed -n '/^---$/,/^---$/{ /^---$/d; p; }' dev-crew/resume.md 2>/dev/null
16+
fi
17+
18+
# Open blockers count
19+
if [ -f "dev-crew/blockers.md" ]; then
20+
OPEN=$(grep -c '^\## \[OPEN\]' dev-crew/blockers.md 2>/dev/null || echo 0)
21+
echo "open_blockers: $OPEN"
22+
fi
23+
24+
exit 0

skills/crew-init/SKILL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: crew:init
2+
name: crew.init
33
user-invocable: true
44
description: Initialize a DevCrew workspace and activate the full AI team orchestration protocol — PDEVI workflow, persistent memory, checkpoint-based quality control.
55
metadata:
@@ -9,6 +9,15 @@ metadata:
99

1010
# crew:init — 初始化 DevCrew 工作区并激活协议
1111

12+
## Pre-flight Check
13+
14+
Run the `check.sh` script in this skill's directory:
15+
16+
- If `STATUS: INITIALIZED` → Workspace already exists. Tell the user: "DevCrew 工作区已初始化,无需重复执行。可使用 /crew.status 查看当前状态。" **Do not proceed.**
17+
- If `STATUS: NOT_INITIALIZED` → Continue with initialization below.
18+
19+
---
20+
1221
初始化 DevCrew 多 Agent 协作工作区,并加载完整的团队编排协议。这是使用 DevCrew 的入口 Skill。
1322

1423
## 何时使用

skills/crew-init/check.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
# DevCrew workspace status check — compact output for AI agent consumption.
3+
# Exit 0 = initialized, Exit 1 = not initialized.
4+
5+
if [ ! -d "dev-crew" ] || [ ! -f "INSTRUCTIONS.md" ]; then
6+
echo "STATUS: NOT_INITIALIZED"
7+
echo "ACTION: Run /crew.init to create the workspace."
8+
exit 1
9+
fi
10+
11+
echo "STATUS: INITIALIZED"
12+
13+
# Compact resume summary
14+
if [ -f "dev-crew/resume.md" ]; then
15+
sed -n '/^---$/,/^---$/{ /^---$/d; p; }' dev-crew/resume.md 2>/dev/null
16+
fi
17+
18+
# Open blockers count
19+
if [ -f "dev-crew/blockers.md" ]; then
20+
OPEN=$(grep -c '^\## \[OPEN\]' dev-crew/blockers.md 2>/dev/null || echo 0)
21+
echo "open_blockers: $OPEN"
22+
fi
23+
24+
exit 0

skills/crew-plan/SKILL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: crew:plan
2+
name: crew.plan
33
user-invocable: true
44
description: Create a new change proposal and enter the Plan phase of the PDEVI workflow. Supports Standard, Express, and Prototype modes.
55
metadata:
@@ -9,6 +9,15 @@ metadata:
99

1010
# crew plan — 创建变更计划
1111

12+
## Pre-flight Check
13+
14+
Run the `check.sh` script in this skill's directory:
15+
16+
- If `STATUS: NOT_INITIALIZED` → Stop. Tell the user: "DevCrew 工作区尚未初始化,请先运行 /crew.init"
17+
- If `STATUS: INITIALIZED` → Use the output as workspace context. Proceed below.
18+
19+
---
20+
1221
创建一个新的变更(change),自动推断工作模式,进入 PDEVI 工作流的 Plan 阶段。
1322

1423
## 何时使用

skills/crew-plan/check.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
# DevCrew workspace status check — compact output for AI agent consumption.
3+
# Exit 0 = initialized, Exit 1 = not initialized.
4+
5+
if [ ! -d "dev-crew" ] || [ ! -f "INSTRUCTIONS.md" ]; then
6+
echo "STATUS: NOT_INITIALIZED"
7+
echo "ACTION: Run /crew.init to create the workspace."
8+
exit 1
9+
fi
10+
11+
echo "STATUS: INITIALIZED"
12+
13+
# Compact resume summary
14+
if [ -f "dev-crew/resume.md" ]; then
15+
sed -n '/^---$/,/^---$/{ /^---$/d; p; }' dev-crew/resume.md 2>/dev/null
16+
fi
17+
18+
# Open blockers count
19+
if [ -f "dev-crew/blockers.md" ]; then
20+
OPEN=$(grep -c '^\## \[OPEN\]' dev-crew/blockers.md 2>/dev/null || echo 0)
21+
echo "open_blockers: $OPEN"
22+
fi
23+
24+
exit 0

skills/crew-release/SKILL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: crew:release
2+
name: crew.release
33
user-invocable: true
44
description: Archive completed changes and consolidate agent memory. Moves change artifacts to archive and updates each agent's long-term knowledge base.
55
metadata:
@@ -9,6 +9,15 @@ metadata:
99

1010
# crew release — 归档变更与记忆整合
1111

12+
## Pre-flight Check
13+
14+
Run the `check.sh` script in this skill's directory:
15+
16+
- If `STATUS: NOT_INITIALIZED` → Stop. Tell the user: "DevCrew 工作区尚未初始化,请先运行 /crew.init"
17+
- If `STATUS: INITIALIZED` → Use the output as workspace context. Proceed below.
18+
19+
---
20+
1221
将已完成的变更归档,并触发各 Agent 的记忆整合——从工作记录中提炼经验,写入长期记忆文件。
1322

1423
## 何时使用

skills/crew-release/check.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
# DevCrew workspace status check — compact output for AI agent consumption.
3+
# Exit 0 = initialized, Exit 1 = not initialized.
4+
5+
if [ ! -d "dev-crew" ] || [ ! -f "INSTRUCTIONS.md" ]; then
6+
echo "STATUS: NOT_INITIALIZED"
7+
echo "ACTION: Run /crew.init to create the workspace."
8+
exit 1
9+
fi
10+
11+
echo "STATUS: INITIALIZED"
12+
13+
# Compact resume summary
14+
if [ -f "dev-crew/resume.md" ]; then
15+
sed -n '/^---$/,/^---$/{ /^---$/d; p; }' dev-crew/resume.md 2>/dev/null
16+
fi
17+
18+
# Open blockers count
19+
if [ -f "dev-crew/blockers.md" ]; then
20+
OPEN=$(grep -c '^\## \[OPEN\]' dev-crew/blockers.md 2>/dev/null || echo 0)
21+
echo "open_blockers: $OPEN"
22+
fi
23+
24+
exit 0

0 commit comments

Comments
 (0)