用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill epic-creation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | epic-creation |
| description | Create GitHub epic issue from any implementation plan file Use when this capability is needed. |
| metadata | {"author":"castrojo"} |
Create a GitHub epic issue from an implementation plan file, regardless of format or structure.
writing-plans completes (automatic)Announce at start: "I'm using the epic-creation skill to create an epic issue."
Read the plan file completely. Use your understanding to identify:
Flexible reading: Plans may have different formats:
Your job: Extract the essence regardless of format.
PLAN_FILE="<plan-file-path>"
# Check if plan already references an epic
if grep -q "Epic Issue:" "$PLAN_FILE" || grep -q "epic.*#[0-9]" "$PLAN_FILE"; then
EXISTING_EPIC=$(grep -oP '(?:Epic Issue:|epic).*#\K\d+' "$PLAN_FILE" | head -1)
echo "⚠️ Plan already linked to epic #$EXISTING_EPIC"
# If not forcing, stop here
if [ "$FORCE" != "true" ]; then
echo "Use force=true to create new epic anyway"
exit 0
fi
fi
Create the epic issue body with extracted information:
cat > epic_body.md <<EOF
## 📋 Plan File
\`$PLAN_FILE\`
## 🎯 Goal
$GOAL
## 🏗️ Architecture
$ARCH
## 🛠️ Tech Stack
$TECH
## ✅ Tasks
$TASKS
---
**Status:** 🟡 In Progress
---
## 📚 Implementation Journey
<!-- JOURNEY_START -->
*Journey documentation will be added upon completion.*
<!-- JOURNEY_END -->
EOF
Handling missing information:
Be practical: Some plans won't have all information clearly labeled. That's okay - extract what you can.
# Create the issue
gh issue create \
--title "$TITLE" \
--label "epic,planning" \
--body "$(cat epic_body.md)"
# Capture the issue number
EPIC_NUMBER=$(gh issue list --label "epic" --limit 1 --json number --jq '.[0].number')
echo "Created epic issue: #$EPIC_NUMBER"
Add epic reference to the plan file:
# Add epic reference near the top of the plan (after tech stack if present)
# Find a good insertion point
if grep -q "^\*\*Tech Stack:\*\*" "$PLAN_FILE"; then
# Insert after tech stack
sed -i "/^\*\*Tech Stack:\*\*/a\\n**Epic Issue:** #$EPIC_NUMBER" "$PLAN_FILE"
elif grep -q "^---" "$PLAN_FILE"; then
# Insert after first separator
sed -i "0,/^---/s/^---/---\n\n**Epic Issue:** #$EPIC_NUMBER/" "$PLAN_FILE"
else
# Insert after first paragraph/section
sed -i "4a\\n**Epic Issue:** #$EPIC_NUMBER" "$PLAN_FILE"
fi
# Commit the update
git add "$PLAN_FILE"
git commit -m "docs: link plan to epic issue #$EPIC_NUMBER"
Tell the user:
✅ Epic issue created: #$EPIC_NUMBER
✅ Plan updated with epic reference
Epic URL: https://github.com/<owner>/<repo>/issues/$EPIC_NUMBER
Epic creation should be:
Avoid:
Plan structure:
# Feature Implementation Plan
**Goal:** Build the feature
**Architecture:** Uses X and Y
**Tech Stack:** Python, JavaScript
### Task 1: Do thing
### Task 2: Do other thing
Extraction:
Plan structure:
# Adding Dark Mode
We need to add dark mode to the app. This will involve:
1. Create theme context
2. Add theme toggle
3. Update all components
Technologies: React, CSS-in-JS
Extraction (intelligent reading):
Plan structure:
# Fix Bug #123
Update validation logic to handle edge case.
Extraction (with defaults):
Still useful: Future agents can find this epic and see the linked plan for full context.
Called by:
writing-plans skill - After plan is savedConverted and distributed by TomeVault — claim your Tome and manage your conversions.