chore(rebar): Pier_T_rebar 작업 폴더 초기 구성 및 외부 의존 파일 통합
- Code\rebar_pipeline, review_pipeline, pier-program을 정션에서 실제 폴더로 전환 - Code\rhino_mcp 및 CLAUDE_rhino배경.md 추가, .mcp.json은 PYTHONPATH로 새 위치 사용 - pier-program 내부 .git 제거(이력은 backup\pier-program_20261028.bundle에 보관) - worktree 가이드 반영(CLAUDE.local.md, HANDOFF.md) - D:\Rhino-MCP 경로 참조를 새 위치로 치환 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
964a841de1
3978 files changed
+58013356
No files matched your search
@@ -0,0 +1,144 @@
|
||||
---
|
||||
name: skill-create
|
||||
classification: workflow
|
||||
classification-reason: "Interactive skill creation workflow with user prompts, file generation, and eval scaffolding. Multi-step process requiring user decisions."
|
||||
deprecation-risk: none
|
||||
description: |
|
||||
Interactive skill creation workflow for project-local skills.
|
||||
Triggers: skill-create, create skill, 스킬 생성, 스킬 만들기.
|
||||
argument-hint: "/skill-create [name] | /skill-create from-btw {btw-id}"
|
||||
user-invocable: true
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
- Edit
|
||||
- Glob
|
||||
- Grep
|
||||
- Bash
|
||||
---
|
||||
|
||||
# skill-create - Interactive Skill Creation Workflow
|
||||
|
||||
프로젝트 컨텍스트를 분석하여 project-local 스킬을 생성하는 워크플로우.
|
||||
|
||||
## Workflow Steps
|
||||
|
||||
### Step 1: Gather Information
|
||||
|
||||
If `/skill-create` (no args):
|
||||
1. Ask user for skill name (kebab-case)
|
||||
2. Ask user for skill purpose/description
|
||||
3. Ask user for classification: workflow or capability
|
||||
|
||||
If `/skill-create {name}`:
|
||||
1. Use provided name
|
||||
2. Analyze project context to infer purpose
|
||||
3. Ask user to confirm/modify
|
||||
|
||||
If `/skill-create from-btw {btw-id}`:
|
||||
1. Read btw suggestion from `.hmcmkit/btw-suggestions.json`
|
||||
2. Use suggestion text as seed for skill description
|
||||
3. Use suggestion context for project context
|
||||
|
||||
### Step 2: Analyze Project Context
|
||||
|
||||
1. Read `agents.md` for project conventions
|
||||
2. Scan project structure:
|
||||
- Identify tech stack (Java/Spring, Next.js, Python, etc.)
|
||||
- Find relevant patterns in source code
|
||||
- Check existing project-local skills for overlap
|
||||
3. Determine appropriate:
|
||||
- Allowed tools for the skill
|
||||
- Trigger keywords (Korean + English)
|
||||
- Related files/patterns to reference
|
||||
|
||||
### Step 3: Generate SKILL.md
|
||||
|
||||
Create `.ai-agent/skills/project/{name}/SKILL.md` with:
|
||||
|
||||
```yaml
|
||||
---
|
||||
name: {name}
|
||||
classification: {workflow|capability}
|
||||
classification-reason: "{reason based on analysis}"
|
||||
deprecation-risk: none
|
||||
description: |
|
||||
{Generated description}
|
||||
Triggers: {trigger commands}
|
||||
Keywords: {keywords in Korean and English}
|
||||
argument-hint: "{usage hint}"
|
||||
user-invocable: true
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
- Edit
|
||||
- Glob
|
||||
- Grep
|
||||
- Bash
|
||||
---
|
||||
```
|
||||
|
||||
Body content includes:
|
||||
- Purpose and when to use
|
||||
- Step-by-step instructions for workflow skills
|
||||
- Pattern reference for capability skills
|
||||
- Code examples from actual project files
|
||||
- Integration points with other skills
|
||||
|
||||
### Step 4: Generate Eval Files (optional)
|
||||
|
||||
Create `evals/{name}/` directory with:
|
||||
|
||||
```
|
||||
evals/{name}/
|
||||
eval.yaml - Test configuration
|
||||
prompt.txt - Test prompt
|
||||
expected.txt - Expected behavior description
|
||||
```
|
||||
|
||||
**eval.yaml format:**
|
||||
```yaml
|
||||
name: "{name} skill eval"
|
||||
skill: ".ai-agent/skills/project/{name}/SKILL.md"
|
||||
tests:
|
||||
- name: "basic trigger"
|
||||
prompt: "{trigger command}"
|
||||
expected:
|
||||
- "{expected behavior 1}"
|
||||
- "{expected behavior 2}"
|
||||
- name: "edge case"
|
||||
prompt: "{edge case prompt}"
|
||||
expected:
|
||||
- "{expected behavior}"
|
||||
```
|
||||
|
||||
### Step 5: Confirm and Report
|
||||
|
||||
1. Show generated file paths
|
||||
2. Show skill summary (name, classification, triggers)
|
||||
3. Suggest: "Test with `/{name}` or review at `.ai-agent/skills/project/{name}/SKILL.md`"
|
||||
|
||||
## Project-Local Skill Location
|
||||
|
||||
All generated skills go to: `.ai-agent/skills/project/{name}/SKILL.md`
|
||||
|
||||
This location:
|
||||
- Is git-trackable for team sharing
|
||||
- Takes precedence over hmcmkit core skills (2-layer architecture)
|
||||
- Is auto-loaded by Antigravity Platform's skill discovery
|
||||
|
||||
## Naming Conventions
|
||||
|
||||
| Pattern | Example | Use When |
|
||||
|---------|---------|----------|
|
||||
| `{project}-{domain}` | `hunikflow-model` | Domain-specific capability |
|
||||
| `{action}-{target}` | `validate-entity` | Action-oriented workflow |
|
||||
| `{tool}-{purpose}` | `proxy-guide` | Tool/pattern guide |
|
||||
|
||||
## From-BTW Integration
|
||||
|
||||
When creating from a /btw suggestion:
|
||||
1. Read the suggestion's `context.file` to understand what code was being worked on
|
||||
2. Read the suggestion's `context.feature` to understand the PDCA feature context
|
||||
3. Use suggestion text as the primary description seed
|
||||
4. After creation, update the btw suggestion's `promotedTo` field with the new skill name
|
||||
Reference in new issue
Block a user