一键导入
itx-plan-scaffold
Create phased execution plan with entry/exit criteria
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create phased execution plan with entry/exit criteria
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cut a new clawrium release — bump version, sync docs, tag, trigger PyPI publish
Record a CLI demo (GIF or MP4) using VHS, with storyboard support for long-form / YouTube demos
Watch ric03uec/clawrium release tags; draft a short blog post per user-visible feature as a PR against blog/.
Detect user-visible changes from the last 24h of commits on main and propose doc and scenario updates as PRs.
Execute the plan for an issue (parent or subtask)
Know the clawctl CLI and manage your Clawrium fleet (hosts, agents, providers, channels, integrations, skills, secrets)
| name | itx:plan-scaffold |
| description | Create phased execution plan with entry/exit criteria |
| argument-hint | <issue-number> |
name: itx:plan-scaffold
Create a phased execution plan from a plan-create output, defining entry/exit criteria for each phase.
Fetch Issue: Get full issue details with existing plan
gh issue view <number> --json number,title,body,labels,comments
Read Plan: Find the plan-create comment from issue comments or read from .itx/<number>/00_PLAN.md
Analyze Complexity:
Decide Execution Mode:
/itx:executeCreate Scaffolding: For each phase, define:
### Phase N: <Name>
**Entry Criteria** (must be true to start):
- <condition>
**Exit Criteria** (must be true to complete):
- <test passing>
- <validation rule>
**Dependencies**: Phase <N-1> (or "None" for first phase)
**Files Affected**:
- `path/to/file.ext` - <change type>
**Complexity**: simple/moderate/complex
Save Scaffolding to File:
# Write scaffolding to .itx/<number>/01_EXECUTION.md
Post Scaffolding: Add as comment on issue
## Execution Scaffolding
**Mode**: single-phase | multi-phase (<N> phases)
<phase definitions>
---
<details>
<summary>Prompt Log</summary>
**Stage**: scaffolding
**Skill**: /itx:plan-scaffold
**Timestamp**: <ISO timestamp>
**Model**: <model>
```prompt
<original user prompt>
```
Create Subtasks (if multi-phase) and link as sub-issues:
# Extract repository info
REMOTE_URL=$(git config --get remote.origin.url)
OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's/.*[:/]([^/]+\/[^/]+)(\.git)?$/\1/')
OWNER=$(echo "$OWNER_REPO" | cut -d'/' -f1)
REPO=$(echo "$OWNER_REPO" | cut -d'/' -f2)
# Create subtask
CHILD_URL=$(gh issue create \
--title "[Parent #<parent>] Phase N: <name>" \
--label "ready" \
--body "<phase details>")
CHILD_NUM=$(basename $CHILD_URL)
# Link as sub-issue using GraphQL with dynamic repo
gh api graphql -f query='
mutation($parentId: ID!, $childId: ID!) {
addSubIssue(input: {issueId: $parentId, subIssueId: $childId}) {
issue { number }
subIssue { number }
}
}' \
-f parentId=$(gh api graphql -f query='query($owner: String!, $repo: String!, $issue: Int!) { repository(owner: $owner, name: $repo) { issue(number: $issue) { id } } }' -f owner="$OWNER" -f repo="$REPO" -F issue=$PARENT_NUM | jq -r '.data.repository.issue.id') \
-f childId=$(gh api graphql -f query='query($owner: String!, $repo: String!, $issue: Int!) { repository(owner: $owner, name: $repo) { issue(number: $issue) { id } } }' -f owner="$OWNER" -f repo="$REPO" -F issue=$CHILD_NUM | jq -r '.data.repository.issue.id')
Update Labels:
gh issue edit <number> --remove-label "planned" --add-label "ready"
.itx/<N>/01_EXECUTION.md for referenceREQUIRED: Append prompt log to .itx/<N>/01_EXECUTION.md.
See AGENTS.md for format specification.