x-ipe 1.0.24__py3-none-any.whl → 1.0.25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- x_ipe/app.py +25 -3
- x_ipe/handlers/terminal_handlers.py +6 -0
- x_ipe/handlers/voice_handlers.py +5 -0
- x_ipe/resources/copilot-instructions.md +19 -6
- x_ipe/resources/skills/lesson-learned/SKILL.md +208 -0
- x_ipe/resources/skills/lesson-learned/references/examples.md +238 -0
- x_ipe/resources/skills/project-quality-board-management/SKILL.md +135 -298
- x_ipe/resources/skills/project-quality-board-management/references/evaluation-principles.md +213 -0
- x_ipe/resources/skills/project-quality-board-management/references/evaluation-procedures.md +214 -0
- x_ipe/resources/skills/project-quality-board-management/templates/quality-report.md +70 -18
- x_ipe/resources/skills/task-execution-guideline/SKILL.md +2 -2
- x_ipe/resources/skills/task-execution-guideline/templates/task-record.yaml +1 -1
- x_ipe/resources/skills/task-type-code-implementation/SKILL.md +72 -270
- x_ipe/resources/skills/task-type-code-implementation/references/implementation-guidelines.md +432 -0
- x_ipe/resources/skills/task-type-code-refactor-v2/SKILL.md +127 -353
- x_ipe/resources/skills/task-type-code-refactor-v2/references/refactoring-techniques.md +373 -0
- x_ipe/resources/skills/task-type-feature-breakdown/SKILL.md +31 -243
- x_ipe/resources/skills/task-type-feature-breakdown/references/breakdown-guidelines.md +330 -0
- x_ipe/resources/skills/task-type-feature-refinement/SKILL.md +27 -180
- x_ipe/resources/skills/task-type-feature-refinement/references/specification-writing-guide.md +267 -0
- x_ipe/resources/skills/task-type-idea-mockup/SKILL.md +38 -276
- x_ipe/resources/skills/task-type-idea-mockup/references/mockup-guidelines.md +299 -0
- x_ipe/resources/skills/task-type-idea-to-architecture/SKILL.md +20 -218
- x_ipe/resources/skills/task-type-idea-to-architecture/references/architecture-patterns.md +342 -0
- x_ipe/resources/skills/task-type-ideation/SKILL.md +10 -266
- x_ipe/resources/skills/task-type-ideation/references/folder-naming-guide.md +55 -0
- x_ipe/resources/skills/task-type-ideation/references/tool-usage-guide.md +236 -0
- x_ipe/resources/skills/task-type-ideation-v2/SKILL.md +488 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/examples.md +377 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/folder-naming-guide.md +74 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/tool-usage-guide.md +145 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/visualization-guide.md +160 -0
- x_ipe/resources/skills/task-type-ideation-v2/templates/idea-summary.md +86 -0
- x_ipe/resources/skills/task-type-refactoring-analysis/SKILL.md +83 -145
- x_ipe/resources/skills/task-type-refactoring-analysis/references/output-schema.md +172 -0
- x_ipe/resources/skills/task-type-technical-design/SKILL.md +28 -214
- x_ipe/resources/skills/task-type-technical-design/references/design-templates.md +422 -0
- x_ipe/resources/skills/task-type-test-generation/SKILL.md +47 -332
- x_ipe/resources/skills/task-type-test-generation/references/test-patterns.md +368 -0
- x_ipe/resources/skills/tool-tracing-creator/SKILL.md +312 -0
- x_ipe/resources/skills/tool-tracing-creator/references/examples.md +324 -0
- x_ipe/resources/skills/tool-tracing-instrumentation/SKILL.md +373 -0
- x_ipe/resources/skills/tool-tracing-instrumentation/references/examples.md +264 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/SKILL.md +486 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/10. example-gate-conditions.md +73 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/11. reference-quality-standards.md +127 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/2. reference-section-order.md +127 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/3. example-step-based-code-review.md +84 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/4. example-step-based-feature-implementation.md +113 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/5. example-function-based-validation.md +73 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/6. example-function-based-analysis.md +94 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/7. example-task-io-code-implementation.md +36 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/8. example-structured-summary.md +43 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/9. example-dor-dod.md +77 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/examples.md +429 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/skill-general-guidelines-v2.md +611 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-meta.md +153 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-based.md +324 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-category.md +109 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-tool.md +205 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-meta.md +334 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-task-based.md +279 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-tool.md +175 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-workflow-orchestration.md +329 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/SKILL.md +487 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/examples.md +377 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/folder-naming-guide.md +74 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/tool-usage-guide.md +145 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/visualization-guide.md +160 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/templates/idea-summary.md +86 -0
- x_ipe/routes/__init__.py +2 -0
- x_ipe/routes/ideas_routes.py +17 -0
- x_ipe/routes/kb_routes.py +80 -0
- x_ipe/routes/main_routes.py +18 -0
- x_ipe/routes/project_routes.py +7 -0
- x_ipe/routes/proxy_routes.py +2 -0
- x_ipe/routes/quality_evaluation_routes.py +193 -0
- x_ipe/routes/settings_routes.py +6 -0
- x_ipe/routes/tools_routes.py +6 -0
- x_ipe/routes/tracing_routes.py +232 -0
- x_ipe/routes/uiux_feedback_routes.py +30 -0
- x_ipe/services/__init__.py +5 -0
- x_ipe/services/config_service.py +6 -0
- x_ipe/services/file_service.py +20 -0
- x_ipe/services/homepage_service.py +160 -0
- x_ipe/services/ideas_service.py +19 -0
- x_ipe/services/kb_service.py +378 -0
- x_ipe/services/proxy_service.py +4 -0
- x_ipe/services/settings_service.py +13 -0
- x_ipe/services/skills_service.py +4 -0
- x_ipe/services/terminal_service.py +24 -0
- x_ipe/services/themes_service.py +4 -0
- x_ipe/services/tools_config_service.py +4 -0
- x_ipe/services/tracing_service.py +333 -0
- x_ipe/services/uiux_feedback_service.py +32 -0
- x_ipe/services/voice_input_service_v2.py +11 -0
- x_ipe/static/css/base.css +7 -0
- x_ipe/static/css/homepage-infinity.css +330 -0
- x_ipe/static/css/kb-core.css +301 -0
- x_ipe/static/css/quality-evaluation.css +345 -0
- x_ipe/static/css/sidebar.css +14 -4
- x_ipe/static/css/terminal.css +1 -0
- x_ipe/static/css/tracing-dashboard.css +796 -0
- x_ipe/static/css/workplace.css +20 -0
- x_ipe/static/img/homepage-infinity-loop.png +0 -0
- x_ipe/static/js/features/homepage-infinity.js +314 -0
- x_ipe/static/js/features/kb-core.js +371 -0
- x_ipe/static/js/features/quality-evaluation.js +387 -0
- x_ipe/static/js/features/sidebar.js +255 -12
- x_ipe/static/js/features/tracing-dashboard.js +855 -0
- x_ipe/static/js/features/tracing-graph.js +1031 -0
- x_ipe/static/js/features/tree-search.js +6 -2
- x_ipe/static/js/features/workplace.js +200 -6
- x_ipe/static/js/init.js +76 -0
- x_ipe/static/js/uiux-feedback.js +18 -2
- x_ipe/templates/base.html +19 -0
- x_ipe/templates/index.html +7 -1
- x_ipe/templates/knowledge-base.html +110 -0
- x_ipe/templates/workplace.html +4 -0
- x_ipe/tracing/__init__.py +37 -0
- x_ipe/tracing/buffer.py +135 -0
- x_ipe/tracing/context.py +125 -0
- x_ipe/tracing/decorator.py +288 -0
- x_ipe/tracing/middleware.py +197 -0
- x_ipe/tracing/parser.py +235 -0
- x_ipe/tracing/redactor.py +111 -0
- x_ipe/tracing/writer.py +122 -0
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/RECORD +132 -62
- x_ipe/resources/skills/x-ipe-skill-creator/SKILL.md +0 -329
- x_ipe/resources/skills/x-ipe-skill-creator/references/output-patterns.md +0 -169
- x_ipe/resources/skills/x-ipe-skill-creator/references/skill-structure.md +0 -162
- x_ipe/resources/skills/x-ipe-skill-creator/references/workflows.md +0 -110
- x_ipe/resources/skills/x-ipe-skill-creator/templates/references/examples.md +0 -113
- x_ipe/resources/skills/x-ipe-skill-creator/templates/skill-category-skill.md +0 -296
- x_ipe/resources/skills/x-ipe-skill-creator/templates/task-type-skill.md +0 -269
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: x-ipe-skill-creator
|
|
3
|
-
description: Guide for creating effective X-IPE skills. Use when creating a new skill (or updating an existing skill) for the X-IPE framework, including task type skills, tool skills, and skill category skills. Triggers on requests like "create skill", "new skill", "add task type skill", "create tool skill", "create category skill".
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# X-IPE Skill Creator
|
|
7
|
-
|
|
8
|
-
This skill provides guidance for creating effective X-IPE skills.
|
|
9
|
-
|
|
10
|
-
## About X-IPE Skills
|
|
11
|
-
|
|
12
|
-
Skills are modular, self-contained packages that extend AI Agent capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks—they transform an AI Agent from a general-purpose assistant into a specialized agent equipped with procedural knowledge.
|
|
13
|
-
|
|
14
|
-
### What Skills Provide
|
|
15
|
-
|
|
16
|
-
1. Specialized workflows - Multi-step procedures for specific domains
|
|
17
|
-
2. Tool integrations - Instructions for working with specific file formats or APIs
|
|
18
|
-
3. Domain expertise - Project-specific knowledge, schemas, business logic
|
|
19
|
-
4. Bundled resources - Templates, references, and scripts for complex and repetitive tasks
|
|
20
|
-
|
|
21
|
-
### X-IPE Skill Types
|
|
22
|
-
|
|
23
|
-
| Type | Purpose | Naming Convention | Template |
|
|
24
|
-
|------|---------|-------------------|----------|
|
|
25
|
-
| Task Type | Development lifecycle workflows | `task-type-{name}` | [task-type-skill.md](templates/task-type-skill.md) |
|
|
26
|
-
| Tool Skill | Utility functions and tool integrations | `{tool-name}` | TBD |
|
|
27
|
-
| Skill Category | Board management and category-level operations | `{category}+{operation}` | [skill-category-skill.md](templates/skill-category-skill.md) |
|
|
28
|
-
|
|
29
|
-
## Core Principles
|
|
30
|
-
|
|
31
|
-
### Concise is Key
|
|
32
|
-
|
|
33
|
-
The context window is a public good. Skills share the context window with everything else AI Agent needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
|
|
34
|
-
|
|
35
|
-
**Default assumption: AI Agent is already very smart.** Only add context AI Agent doesn't already have. Challenge each piece of information: "Does AI Agent really need this explanation?" and "Does this paragraph justify its token cost?"
|
|
36
|
-
|
|
37
|
-
Prefer concise examples over verbose explanations.
|
|
38
|
-
|
|
39
|
-
### Set Appropriate Degrees of Freedom
|
|
40
|
-
|
|
41
|
-
Match the level of specificity to the task's fragility and variability:
|
|
42
|
-
|
|
43
|
-
**High freedom (text-based instructions)**: Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
|
|
44
|
-
|
|
45
|
-
**Medium freedom (pseudocode or scripts with parameters)**: Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
|
|
46
|
-
|
|
47
|
-
**Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
|
|
48
|
-
|
|
49
|
-
Think of AI Agent as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
|
|
50
|
-
|
|
51
|
-
### Anatomy of a Skill
|
|
52
|
-
|
|
53
|
-
Every skill consists of a required SKILL.md file and optional bundled resources:
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
skill-name/
|
|
57
|
-
├── SKILL.md (required)
|
|
58
|
-
│ ├── YAML frontmatter metadata (required)
|
|
59
|
-
│ │ ├── name: (required)
|
|
60
|
-
│ │ └── description: (required)
|
|
61
|
-
│ └── Markdown instructions (required)
|
|
62
|
-
└── Bundled Resources (optional)
|
|
63
|
-
├── scripts/ - Executable code (Python/Bash/etc.)
|
|
64
|
-
├── references/ - Documentation loaded into context as needed
|
|
65
|
-
└── templates/ - Document templates for output
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
#### SKILL.md (required)
|
|
69
|
-
|
|
70
|
-
Every SKILL.md consists of:
|
|
71
|
-
|
|
72
|
-
- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields that AI Agent reads to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used.
|
|
73
|
-
- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
|
|
74
|
-
|
|
75
|
-
#### Bundled Resources (optional)
|
|
76
|
-
|
|
77
|
-
##### Scripts (`scripts/`)
|
|
78
|
-
|
|
79
|
-
Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
|
|
80
|
-
|
|
81
|
-
- **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed
|
|
82
|
-
- **Benefits**: Token efficient, deterministic, may be executed without loading into context
|
|
83
|
-
|
|
84
|
-
##### References (`references/`)
|
|
85
|
-
|
|
86
|
-
Documentation and reference material intended to be loaded as needed into context.
|
|
87
|
-
|
|
88
|
-
- **When to include**: For documentation that AI Agent should reference while working
|
|
89
|
-
- **Use cases**: Detailed workflow guides, domain knowledge, API documentation
|
|
90
|
-
- **Benefits**: Keeps SKILL.md lean, loaded only when AI Agent determines it's needed
|
|
91
|
-
- **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md
|
|
92
|
-
|
|
93
|
-
##### Templates (`templates/`)
|
|
94
|
-
|
|
95
|
-
Document templates used for generating output files.
|
|
96
|
-
|
|
97
|
-
- **When to include**: When the skill produces standardized documents
|
|
98
|
-
- **Examples**: `templates/requirement-details.md`, `templates/task-board.md`
|
|
99
|
-
- **Benefits**: Consistent output format, easy to maintain
|
|
100
|
-
|
|
101
|
-
#### What to Not Include in a Skill
|
|
102
|
-
|
|
103
|
-
A skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation including:
|
|
104
|
-
|
|
105
|
-
- README.md
|
|
106
|
-
- INSTALLATION_GUIDE.md
|
|
107
|
-
- QUICK_REFERENCE.md
|
|
108
|
-
- CHANGELOG.md
|
|
109
|
-
|
|
110
|
-
The skill should only contain the information needed for an AI agent to do the job at hand.
|
|
111
|
-
|
|
112
|
-
### Progressive Disclosure Design Principle
|
|
113
|
-
|
|
114
|
-
Skills use a three-level loading system to manage context efficiently:
|
|
115
|
-
|
|
116
|
-
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
117
|
-
2. **SKILL.md body** - When skill triggers (<500 lines)
|
|
118
|
-
3. **Bundled resources** - As needed by AI Agent (unlimited)
|
|
119
|
-
|
|
120
|
-
Keep SKILL.md body to the essentials and under 500 lines to minimize context bloat. Split content into separate files when approaching this limit.
|
|
121
|
-
|
|
122
|
-
**Key principle:** When a skill supports multiple variations, keep only the core workflow and selection guidance in SKILL.md. Move variant-specific details into separate reference files.
|
|
123
|
-
|
|
124
|
-
#### ⚠️ Mandatory: Examples in References
|
|
125
|
-
|
|
126
|
-
**For Task Type Skills:** Examples MUST be placed in `references/examples.md`, NOT inline in SKILL.md.
|
|
127
|
-
|
|
128
|
-
```
|
|
129
|
-
skill-name/
|
|
130
|
-
├── SKILL.md # Core skill (<500 lines)
|
|
131
|
-
│ └── ## Example section → Link to references/examples.md
|
|
132
|
-
└── references/
|
|
133
|
-
└── examples.md # Detailed execution examples (MANDATORY)
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
**Why:** Examples are verbose (often 100+ lines each) and are only needed when learning the skill, not during every execution.
|
|
137
|
-
|
|
138
|
-
**SKILL.md Example section format:**
|
|
139
|
-
```markdown
|
|
140
|
-
## Example
|
|
141
|
-
|
|
142
|
-
See [references/examples.md](references/examples.md) for concrete execution examples.
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
## Skill Creation Process
|
|
146
|
-
|
|
147
|
-
Skill creation involves these steps:
|
|
148
|
-
|
|
149
|
-
1. Identify skill type (Task Type, Tool, or Skill Category)
|
|
150
|
-
2. Understand the skill with concrete examples
|
|
151
|
-
3. Plan reusable skill contents (scripts, references, templates)
|
|
152
|
-
4. Initialize the skill directory
|
|
153
|
-
5. Edit the skill (implement resources and write SKILL.md)
|
|
154
|
-
6. **Validate cross-references** (check if references need to be added/updated)
|
|
155
|
-
7. Iterate based on real usage
|
|
156
|
-
|
|
157
|
-
Follow these steps in order, skipping only if there is a clear reason why they are not applicable.
|
|
158
|
-
|
|
159
|
-
### Step 1: Identify Skill Type
|
|
160
|
-
|
|
161
|
-
Determine which type of X-IPE skill to create:
|
|
162
|
-
|
|
163
|
-
```
|
|
164
|
-
IF skill follows development lifecycle workflow → Task Type Skill
|
|
165
|
-
Examples: requirement gathering, code implementation, bug fix
|
|
166
|
-
|
|
167
|
-
IF skill manages a board or category-level data → Skill Category Skill
|
|
168
|
-
Examples: task-board-management, feature-board-management
|
|
169
|
-
|
|
170
|
-
IF skill provides utility functions or tool integrations → Tool Skill
|
|
171
|
-
Examples: git-version-control, pdf-processor
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### Step 2: Understanding the Skill with Concrete Examples
|
|
175
|
-
|
|
176
|
-
Skip this step only when the skill's usage patterns are already clearly understood.
|
|
177
|
-
|
|
178
|
-
To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.
|
|
179
|
-
|
|
180
|
-
Example questions to ask:
|
|
181
|
-
- "What functionality should this skill support?"
|
|
182
|
-
- "Can you give some examples of how this skill would be used?"
|
|
183
|
-
- "What would a user say that should trigger this skill?"
|
|
184
|
-
|
|
185
|
-
Conclude this step when there is a clear sense of the functionality the skill should support.
|
|
186
|
-
|
|
187
|
-
### Step 3: Planning the Reusable Skill Contents
|
|
188
|
-
|
|
189
|
-
Analyze each example by:
|
|
190
|
-
|
|
191
|
-
1. Considering how to execute on the example from scratch
|
|
192
|
-
2. Identifying what scripts, references, and templates would be helpful when executing these workflows repeatedly
|
|
193
|
-
|
|
194
|
-
Example: When building a `task-type-requirement-gathering` skill:
|
|
195
|
-
1. Gathering requirements requires asking clarifying questions each time
|
|
196
|
-
2. A `templates/requirement-details.md` template would be helpful
|
|
197
|
-
3. Patterns for vague vs detailed requests should be documented
|
|
198
|
-
|
|
199
|
-
### Step 4: Initializing the Skill
|
|
200
|
-
|
|
201
|
-
Create the skill directory structure:
|
|
202
|
-
|
|
203
|
-
```bash
|
|
204
|
-
mkdir -p .github/skills/{skill-name}/{templates,references,scripts}
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
Then create SKILL.md using the appropriate template:
|
|
208
|
-
|
|
209
|
-
- **Task Type**: See [task-type-skill.md](templates/task-type-skill.md)
|
|
210
|
-
- **Skill Category**: See [skill-category-skill.md](templates/skill-category-skill.md)
|
|
211
|
-
- **Tool Skill**: TBD
|
|
212
|
-
|
|
213
|
-
### Step 5: Edit the Skill
|
|
214
|
-
|
|
215
|
-
When editing the skill, remember that it is being created for another instance of AI Agent to use. Include information that would be beneficial and non-obvious.
|
|
216
|
-
|
|
217
|
-
#### Learn Proven Design Patterns
|
|
218
|
-
|
|
219
|
-
Consult these helpful guides based on your skill's needs:
|
|
220
|
-
|
|
221
|
-
- **Multi-step processes**: See [references/workflows.md](references/workflows.md) for sequential workflows and conditional logic
|
|
222
|
-
- **Specific output formats**: See [references/output-patterns.md](references/output-patterns.md) for template and example patterns
|
|
223
|
-
- **Skill structure details**: See [references/skill-structure.md](references/skill-structure.md) for section guidelines
|
|
224
|
-
|
|
225
|
-
#### Use the Correct Template
|
|
226
|
-
|
|
227
|
-
Each skill type has required sections that MUST be included:
|
|
228
|
-
|
|
229
|
-
**Task Type Skills** (see [task-type-skill.md](templates/task-type-skill.md)):
|
|
230
|
-
- Purpose, Important Notes, Task Type Default Attributes
|
|
231
|
-
- Task Type Required Input Attributes, Skill/Task Completion Output
|
|
232
|
-
- Definition of Ready (DoR), Execution Flow, Execution Procedure
|
|
233
|
-
- Definition of Done (DoD), Patterns, Anti-Patterns, Example
|
|
234
|
-
|
|
235
|
-
**Skill Category Skills** (see [skill-category-skill.md](templates/skill-category-skill.md)):
|
|
236
|
-
- Purpose, Important Notes, Input Data Model
|
|
237
|
-
- States, Operations, Board Sections
|
|
238
|
-
- Status Symbols, Templates, Examples
|
|
239
|
-
|
|
240
|
-
**⚠️ STRICT: Section titles MUST match template exactly.** Do not rename, reorder, or merge sections. This ensures consistency across all X-IPE skills and enables automated validation.
|
|
241
|
-
|
|
242
|
-
#### Update SKILL.md
|
|
243
|
-
|
|
244
|
-
**Writing Guidelines:** Always use imperative/infinitive form.
|
|
245
|
-
|
|
246
|
-
##### Frontmatter
|
|
247
|
-
|
|
248
|
-
Write the YAML frontmatter with `name` and `description`:
|
|
249
|
-
|
|
250
|
-
- `name`: The skill name following naming conventions
|
|
251
|
-
- `description`: This is the primary triggering mechanism for your skill
|
|
252
|
-
- Include both what the Skill does and specific triggers/contexts for when to use it
|
|
253
|
-
- Include all "when to use" information here - Not in the body
|
|
254
|
-
- Example: "Gather requirements from user requests and create requirement summary. Use when starting a new feature or receiving a new user request. Triggers on requests like 'new feature', 'add feature', 'I want to build'."
|
|
255
|
-
|
|
256
|
-
Do not include any other fields in YAML frontmatter.
|
|
257
|
-
|
|
258
|
-
##### Body
|
|
259
|
-
|
|
260
|
-
Write instructions for using the skill and its bundled resources following the appropriate template structure.
|
|
261
|
-
|
|
262
|
-
### Step 6: Validate Cross-References
|
|
263
|
-
|
|
264
|
-
**MANDATORY for all skill operations (create/update/validate).** Verify that external references to the skill are added or updated in these locations:
|
|
265
|
-
|
|
266
|
-
#### 6.1 Check `copilot-instructions.md`
|
|
267
|
-
|
|
268
|
-
For **Task Type Skills**, verify the Task Types Registry table:
|
|
269
|
-
|
|
270
|
-
| Check | Location | Action |
|
|
271
|
-
|-------|----------|--------|
|
|
272
|
-
| Skill exists in registry | `.github/copilot-instructions.md` → Task Types Registry table | Add row if missing |
|
|
273
|
-
| Skill name matches | `Skill` column | Update if renamed |
|
|
274
|
-
| Category is correct | `Category` column | Update if changed |
|
|
275
|
-
| Next Task is correct | `Next Task` column | Update if workflow changed |
|
|
276
|
-
| Human Review flag is set | `Human Review` column | Set Yes/No appropriately |
|
|
277
|
-
|
|
278
|
-
#### 6.2 Check `task-execution-guideline`
|
|
279
|
-
|
|
280
|
-
For **Task Type Skills**, verify the Category Derivation table:
|
|
281
|
-
|
|
282
|
-
| Check | Location | Action |
|
|
283
|
-
|-------|----------|--------|
|
|
284
|
-
| Skill exists in category mapping | `.github/skills/task-execution-guideline/SKILL.md` → Category Derivation table | Add to appropriate category row if missing |
|
|
285
|
-
| Category assignment is correct | Category column | Move to correct category if changed |
|
|
286
|
-
|
|
287
|
-
#### 6.3 Check Related Skills
|
|
288
|
-
|
|
289
|
-
Scan for skills that may need to reference the new/updated skill:
|
|
290
|
-
|
|
291
|
-
| Scenario | Check | Action |
|
|
292
|
-
|----------|-------|--------|
|
|
293
|
-
| Skill is part of a workflow | Skills with `next_task_type` pointing to this skill | Verify references are correct |
|
|
294
|
-
| Skill has prerequisites | Skills listed in DoR | Ensure bidirectional consistency |
|
|
295
|
-
| Skill produces artifacts | Skills that consume these artifacts | Add reference if missing |
|
|
296
|
-
|
|
297
|
-
#### 6.4 Cross-Reference Validation Checklist
|
|
298
|
-
|
|
299
|
-
```
|
|
300
|
-
□ copilot-instructions.md Task Types Registry (for Task Type skills)
|
|
301
|
-
□ task-execution-guideline Category Derivation table (for Task Type skills)
|
|
302
|
-
□ Related skills in same category (check workflow consistency)
|
|
303
|
-
□ Skills that reference this skill (grep for skill name in .github/skills/)
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
**Quick validation command:**
|
|
307
|
-
```bash
|
|
308
|
-
# Find all references to a skill
|
|
309
|
-
grep -r "skill-name" .github/skills/ .github/copilot-instructions.md
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
### Step 7: Iterate
|
|
313
|
-
|
|
314
|
-
After testing the skill, users may request improvements.
|
|
315
|
-
|
|
316
|
-
**Iteration workflow:**
|
|
317
|
-
|
|
318
|
-
1. Use the skill on real tasks
|
|
319
|
-
2. Notice struggles or inefficiencies
|
|
320
|
-
3. Identify how SKILL.md or bundled resources should be updated
|
|
321
|
-
4. Implement changes and test again
|
|
322
|
-
|
|
323
|
-
## References
|
|
324
|
-
|
|
325
|
-
- [templates/task-type-skill.md](templates/task-type-skill.md) - Task Type skill template
|
|
326
|
-
- [templates/skill-category-skill.md](templates/skill-category-skill.md) - Skill Category template
|
|
327
|
-
- [references/skill-structure.md](references/skill-structure.md) - Detailed structure guidelines
|
|
328
|
-
- [references/workflows.md](references/workflows.md) - Workflow design patterns
|
|
329
|
-
- [references/output-patterns.md](references/output-patterns.md) - Output format patterns
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# Output Patterns
|
|
2
|
-
|
|
3
|
-
Use these patterns when skills need to produce consistent, high-quality output.
|
|
4
|
-
|
|
5
|
-
## Template Pattern
|
|
6
|
-
|
|
7
|
-
Provide templates for output format. Match the level of strictness to your needs.
|
|
8
|
-
|
|
9
|
-
**For strict requirements (like YAML output or data formats):**
|
|
10
|
-
|
|
11
|
-
```markdown
|
|
12
|
-
## Skill/Task Completion Output
|
|
13
|
-
|
|
14
|
-
This skill MUST return these attributes to the Task Data Model upon task completion:
|
|
15
|
-
|
|
16
|
-
```yaml
|
|
17
|
-
Output:
|
|
18
|
-
status: completed | blocked
|
|
19
|
-
next_task_type: {Next Task Type}
|
|
20
|
-
require_human_review: {Yes | No}
|
|
21
|
-
task_output_links: [{output file paths}]
|
|
22
|
-
# Dynamic attributes
|
|
23
|
-
{attr_1}: {value}
|
|
24
|
-
{attr_2}: {value}
|
|
25
|
-
```
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
**For flexible guidance (when adaptation is useful):**
|
|
29
|
-
|
|
30
|
-
```markdown
|
|
31
|
-
## Output Format
|
|
32
|
-
|
|
33
|
-
Here is a sensible default format, but use your best judgment:
|
|
34
|
-
|
|
35
|
-
# {Document Title}
|
|
36
|
-
|
|
37
|
-
## Overview
|
|
38
|
-
[Summary of what was accomplished]
|
|
39
|
-
|
|
40
|
-
## Details
|
|
41
|
-
[Adapt sections based on the specific task]
|
|
42
|
-
|
|
43
|
-
## Next Steps
|
|
44
|
-
[Tailor to the specific context]
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Examples Pattern
|
|
48
|
-
|
|
49
|
-
For skills where output quality depends on seeing examples, provide input/output pairs:
|
|
50
|
-
|
|
51
|
-
```markdown
|
|
52
|
-
## Example
|
|
53
|
-
|
|
54
|
-
**Request:** "Add user authentication"
|
|
55
|
-
|
|
56
|
-
**Execution:**
|
|
57
|
-
```
|
|
58
|
-
1. Execute Task Flow from task-execution-guideline skill
|
|
59
|
-
|
|
60
|
-
2. Understand Request:
|
|
61
|
-
- WHAT: User authentication system
|
|
62
|
-
- WHO: End users of the application
|
|
63
|
-
- WHY: Security, user management
|
|
64
|
-
|
|
65
|
-
3. Ask Clarifying Questions:
|
|
66
|
-
- "Should we support OAuth (Google/GitHub)?" → Yes, Google
|
|
67
|
-
- "Password reset needed?" → Yes, via email
|
|
68
|
-
|
|
69
|
-
4. Return Task Completion Output:
|
|
70
|
-
status: completed
|
|
71
|
-
next_task_type: Feature Breakdown
|
|
72
|
-
require_human_review: Yes
|
|
73
|
-
task_output_links:
|
|
74
|
-
- x-ipe-docs/requirements/requirement-details.md
|
|
75
|
-
|
|
76
|
-
5. Resume Task Flow from task-execution-guideline skill
|
|
77
|
-
```
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
Examples help AI Agent understand the desired style and level of detail more clearly than descriptions alone.
|
|
81
|
-
|
|
82
|
-
## X-IPE Specific Output Patterns
|
|
83
|
-
|
|
84
|
-
### Task Type Default Attributes Table
|
|
85
|
-
|
|
86
|
-
Standard format for all task type skills:
|
|
87
|
-
|
|
88
|
-
```markdown
|
|
89
|
-
## Task Type Default Attributes
|
|
90
|
-
|
|
91
|
-
| Attribute | Value |
|
|
92
|
-
|-----------|-------|
|
|
93
|
-
| Task Type | {Task Type Name} |
|
|
94
|
-
| Category | {standalone | feature-stage | requirement-stage | ideation-stage} |
|
|
95
|
-
| Next Task Type | {Next Task Type | null} |
|
|
96
|
-
| Require Human Review | {Yes | No} |
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### Definition of Done (DoD) Table
|
|
100
|
-
|
|
101
|
-
Standard format for exit criteria:
|
|
102
|
-
|
|
103
|
-
```markdown
|
|
104
|
-
## Definition of Done (DoD)
|
|
105
|
-
|
|
106
|
-
| # | Checkpoint | Required |
|
|
107
|
-
|---|------------|----------|
|
|
108
|
-
| 1 | {Output created/updated} | Yes |
|
|
109
|
-
| 2 | {Verification passed} | Yes |
|
|
110
|
-
| 3 | {Optional checkpoint} | Recommended |
|
|
111
|
-
|
|
112
|
-
**Important:** After completing this skill, always return to `task-execution-guideline` skill to continue the task execution flow and validate the DoD defined there.
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### Patterns Section Format
|
|
116
|
-
|
|
117
|
-
Standard format for common patterns:
|
|
118
|
-
|
|
119
|
-
```markdown
|
|
120
|
-
## Patterns
|
|
121
|
-
|
|
122
|
-
### Pattern: {Pattern Name}
|
|
123
|
-
|
|
124
|
-
**When:** {Condition that triggers this pattern}
|
|
125
|
-
**Then:**
|
|
126
|
-
```
|
|
127
|
-
1. {Action 1}
|
|
128
|
-
2. {Action 2}
|
|
129
|
-
3. {Action 3}
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### Pattern: {Another Pattern}
|
|
133
|
-
|
|
134
|
-
**When:** {Condition}
|
|
135
|
-
**Then:**
|
|
136
|
-
```
|
|
137
|
-
1. {Action 1}
|
|
138
|
-
2. {Action 2}
|
|
139
|
-
```
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Anti-Patterns Table Format
|
|
143
|
-
|
|
144
|
-
Standard format for what to avoid:
|
|
145
|
-
|
|
146
|
-
```markdown
|
|
147
|
-
## Anti-Patterns
|
|
148
|
-
|
|
149
|
-
| Anti-Pattern | Why Bad | Do Instead |
|
|
150
|
-
|--------------|---------|------------|
|
|
151
|
-
| {Bad practice 1} | {Reason} | {Better approach} |
|
|
152
|
-
| {Bad practice 2} | {Reason} | {Better approach} |
|
|
153
|
-
| {Bad practice 3} | {Reason} | {Better approach} |
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### Status Symbols
|
|
157
|
-
|
|
158
|
-
Standard symbols for visual indicators:
|
|
159
|
-
|
|
160
|
-
| Symbol | Meaning | Usage |
|
|
161
|
-
|--------|---------|-------|
|
|
162
|
-
| ⛔ | Blocking rule | Critical rules that must not be skipped |
|
|
163
|
-
| ⚠️ | Warning | Important cautions |
|
|
164
|
-
| ✅ | Required/Complete | Mandatory items or completed status |
|
|
165
|
-
| 🔄 | In progress | Currently being worked on |
|
|
166
|
-
| ⏳ | Pending | Waiting to start |
|
|
167
|
-
| 🚫 | Blocked | Cannot proceed |
|
|
168
|
-
| ⏸️ | Deferred | Paused by human |
|
|
169
|
-
| ❌ | Cancelled | Stopped |
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
# Skill Structure Guidelines
|
|
2
|
-
|
|
3
|
-
Detailed guidelines for X-IPE skill structure and organization.
|
|
4
|
-
|
|
5
|
-
## How to Use This Document
|
|
6
|
-
|
|
7
|
-
| Need | Go To |
|
|
8
|
-
|------|-------|
|
|
9
|
-
| Understand what a section is for | This document (Key Sections Explained) |
|
|
10
|
-
| Copy-paste skill format | [task-type-skill.md](../templates/task-type-skill.md) or [skill-category-skill.md](../templates/skill-category-skill.md) |
|
|
11
|
-
| Learn workflow patterns | [workflows.md](workflows.md) |
|
|
12
|
-
| Learn output patterns | [output-patterns.md](output-patterns.md) |
|
|
13
|
-
|
|
14
|
-
**This document explains WHY. Templates show HOW.**
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Directory Structure
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
.github/skills/{skill-name}/
|
|
22
|
-
├── SKILL.md (required)
|
|
23
|
-
│ ├── YAML frontmatter (required)
|
|
24
|
-
│ │ ├── name: (required)
|
|
25
|
-
│ │ └── description: (required)
|
|
26
|
-
│ └── Markdown instructions (required)
|
|
27
|
-
└── Bundled Resources (optional)
|
|
28
|
-
├── templates/ - Document templates
|
|
29
|
-
├── references/ - Additional documentation
|
|
30
|
-
└── scripts/ - Executable code
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## SKILL.md Structure
|
|
36
|
-
|
|
37
|
-
**⚠️ SECTION ORDER IS MANDATORY.** All sections must appear in the exact order defined in templates. See templates for the authoritative section order.
|
|
38
|
-
|
|
39
|
-
### Frontmatter (Required)
|
|
40
|
-
|
|
41
|
-
```yaml
|
|
42
|
-
---
|
|
43
|
-
name: {skill-name}
|
|
44
|
-
description: {Comprehensive description including triggers}
|
|
45
|
-
---
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
**Guidelines:**
|
|
49
|
-
- `name`: Use lowercase with hyphens
|
|
50
|
-
- `description`: Include BOTH what skill does AND when to use it
|
|
51
|
-
- No other fields in frontmatter
|
|
52
|
-
|
|
53
|
-
### Body Structure by Skill Type
|
|
54
|
-
|
|
55
|
-
For complete body structure with all required sections, see the templates:
|
|
56
|
-
- **Task Type Skills**: [task-type-skill.md](../templates/task-type-skill.md)
|
|
57
|
-
- **Skill Category Skills**: [skill-category-skill.md](../templates/skill-category-skill.md)
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Key Sections Explained
|
|
62
|
-
|
|
63
|
-
### Purpose
|
|
64
|
-
|
|
65
|
-
Brief numbered list (4-6 items) of what the skill accomplishes. Start with a one-line description followed by numbered action items.
|
|
66
|
-
|
|
67
|
-
### Important Notes
|
|
68
|
-
|
|
69
|
-
Always include skill prerequisite for task type skills. This ensures agents learn foundational skills before executing specialized ones.
|
|
70
|
-
|
|
71
|
-
### Task Type Default Attributes
|
|
72
|
-
|
|
73
|
-
Standard 4 attributes for all task type skills:
|
|
74
|
-
|
|
75
|
-
| Attribute | Description | Values |
|
|
76
|
-
|-----------|-------------|--------|
|
|
77
|
-
| Task Type | Name of this task type | String |
|
|
78
|
-
| Category | Lifecycle category | standalone, feature-stage, requirement-stage, ideation-stage |
|
|
79
|
-
| Next Task Type | What follows | Task Type name or null |
|
|
80
|
-
| Require Human Review | Needs approval | Yes or No |
|
|
81
|
-
|
|
82
|
-
### Task Type Required Input Attributes
|
|
83
|
-
|
|
84
|
-
Inputs the skill accepts when invoked. Always include `Auto Proceed` (default: False). Add task-specific inputs with their default values. For complex inputs, include YAML structure description.
|
|
85
|
-
|
|
86
|
-
### Skill/Task Completion Output Attributes
|
|
87
|
-
|
|
88
|
-
What the skill returns upon completion. Must include: category, status, next_task_type, require_human_review, task_output_links, and any dynamic attributes specific to the category.
|
|
89
|
-
|
|
90
|
-
### Definition of Ready (DoR)
|
|
91
|
-
|
|
92
|
-
Entry criteria that must be met before starting. Use numbered table format with Required column (Yes/No).
|
|
93
|
-
|
|
94
|
-
### Execution Flow
|
|
95
|
-
|
|
96
|
-
High-level overview table showing step sequence with gates. Each step has: Step #, Name, Action, Gate to Next. Always include **⛔ BLOCKING RULES** after the table.
|
|
97
|
-
|
|
98
|
-
### Execution Procedure
|
|
99
|
-
|
|
100
|
-
Detailed instructions for each step. Include:
|
|
101
|
-
- **Action:** statement describing what to do
|
|
102
|
-
- Numbered instructions or rules
|
|
103
|
-
- **Output:** what the step produces
|
|
104
|
-
|
|
105
|
-
### Definition of Done (DoD)
|
|
106
|
-
|
|
107
|
-
Exit criteria that must be met before completing. Use numbered table format. Always end with reminder to return to `task-execution-guideline` skill.
|
|
108
|
-
|
|
109
|
-
### Patterns
|
|
110
|
-
|
|
111
|
-
Common scenarios with **When/Then** format. Include 1-2 patterns showing condition and steps to take.
|
|
112
|
-
|
|
113
|
-
### Anti-Patterns
|
|
114
|
-
|
|
115
|
-
Table of things to avoid with: Anti-Pattern, Why Bad, Do Instead columns. Include 2-3 anti-patterns.
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
## Best Practices
|
|
120
|
-
|
|
121
|
-
### 1. Keep SKILL.md Under 500 Lines
|
|
122
|
-
|
|
123
|
-
Split into references if larger.
|
|
124
|
-
|
|
125
|
-
### 2. Use Consistent Formatting
|
|
126
|
-
|
|
127
|
-
- Tables for structured data
|
|
128
|
-
- Code blocks for YAML/pseudocode
|
|
129
|
-
- Numbered lists for sequences
|
|
130
|
-
- Bullet points for options
|
|
131
|
-
|
|
132
|
-
### 3. Include Concrete Examples
|
|
133
|
-
|
|
134
|
-
At least one full example showing:
|
|
135
|
-
1. Request/trigger
|
|
136
|
-
2. Step-by-step execution
|
|
137
|
-
3. Output format
|
|
138
|
-
|
|
139
|
-
### 4. Use Visual Indicators
|
|
140
|
-
|
|
141
|
-
- ⛔ for blocking rules
|
|
142
|
-
- ⚠️ for warnings
|
|
143
|
-
- ✅ for required actions
|
|
144
|
-
- 🔄 for in-progress
|
|
145
|
-
- ⏳ for pending
|
|
146
|
-
|
|
147
|
-
### 5. Reference Other Skills Correctly
|
|
148
|
-
|
|
149
|
-
Use backticks: `task-execution-guideline`
|
|
150
|
-
Use links for files: [template.md](templates/template.md)
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## Common Mistakes
|
|
155
|
-
|
|
156
|
-
| Mistake | Fix |
|
|
157
|
-
|---------|-----|
|
|
158
|
-
| Missing DoR/DoD | Add entry/exit criteria |
|
|
159
|
-
| Vague description | Be specific about triggers |
|
|
160
|
-
| Duplicate output sections | Keep only Skill/Task Completion Output |
|
|
161
|
-
| No blocking rules | Add ⛔ BLOCKING RULES to Execution Flow |
|
|
162
|
-
| Missing skill prerequisite | Add Important Notes section |
|