x-ipe 1.0.23__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 +32 -1
- 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 +289 -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 +10 -2
- 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 +50 -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 +535 -2
- x_ipe/services/kb_service.py +378 -0
- x_ipe/services/proxy_service.py +37 -7
- 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 +148 -1
- 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 +23 -0
- x_ipe/static/css/tracing-dashboard.css +796 -0
- x_ipe/static/css/uiux-feedback.css +7 -1
- x_ipe/static/css/workplace.css +636 -0
- x_ipe/static/img/homepage-infinity-loop.png +0 -0
- x_ipe/static/js/features/confirm-dialog.js +169 -0
- x_ipe/static/js/features/folder-view.js +742 -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-drag.js +227 -0
- x_ipe/static/js/features/tree-search.js +228 -0
- x_ipe/static/js/features/workplace.js +661 -33
- x_ipe/static/js/init.js +76 -0
- x_ipe/static/js/terminal-v2.js +45 -14
- x_ipe/static/js/terminal.js +50 -49
- x_ipe/static/js/uiux-feedback.js +75 -16
- x_ipe/templates/base.html +24 -0
- x_ipe/templates/index.html +10 -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.23.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/RECORD +138 -65
- x_ipe/app.py.bak +0 -1333
- 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.23.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
# Workflow Patterns
|
|
2
|
-
|
|
3
|
-
## Sequential Workflows
|
|
4
|
-
|
|
5
|
-
For complex tasks, break operations into clear, sequential steps. It is often helpful to give AI Agent an overview of the process towards the beginning of SKILL.md:
|
|
6
|
-
|
|
7
|
-
```markdown
|
|
8
|
-
Execute {Task Type Name} by following these steps in order:
|
|
9
|
-
|
|
10
|
-
| Step | Name | Action | Gate to Next |
|
|
11
|
-
|------|------|--------|--------------|
|
|
12
|
-
| 1 | Analyze | Parse input and understand scope | Understanding complete |
|
|
13
|
-
| 2 | Plan | Create execution plan | Plan approved |
|
|
14
|
-
| 3 | Execute | Perform the main action | Execution complete |
|
|
15
|
-
| 4 | Verify | Check results against criteria | Verification passed |
|
|
16
|
-
| 5 | Complete | Finalize and output results | Done |
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Conditional Workflows
|
|
20
|
-
|
|
21
|
-
For tasks with branching logic, guide AI Agent through decision points:
|
|
22
|
-
|
|
23
|
-
```markdown
|
|
24
|
-
1. Determine the modification type:
|
|
25
|
-
**Creating new content?** → Follow "Creation workflow" below
|
|
26
|
-
**Editing existing content?** → Follow "Editing workflow" below
|
|
27
|
-
|
|
28
|
-
2. Creation workflow: [steps]
|
|
29
|
-
3. Editing workflow: [steps]
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## X-IPE Specific Workflow Patterns
|
|
33
|
-
|
|
34
|
-
### Task Type Execution Flow
|
|
35
|
-
|
|
36
|
-
Every task type skill should include an Execution Flow table:
|
|
37
|
-
|
|
38
|
-
```markdown
|
|
39
|
-
## Execution Flow
|
|
40
|
-
|
|
41
|
-
Execute {Task Type Name} by following these steps in order:
|
|
42
|
-
|
|
43
|
-
| Step | Name | Action | Gate to Next |
|
|
44
|
-
|------|------|--------|--------------|
|
|
45
|
-
| 1 | {Name} | {Brief action} | {Gate condition} |
|
|
46
|
-
| 2 | {Name} | {Brief action} | {Gate condition} |
|
|
47
|
-
| 3 | Complete | Verify DoD, request human review | Human review |
|
|
48
|
-
|
|
49
|
-
**⛔ BLOCKING RULES:**
|
|
50
|
-
- {Rule 1}: {Description}
|
|
51
|
-
- {Rule 2}: {Description}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Operation-Based Workflows (Skill Category)
|
|
55
|
-
|
|
56
|
-
For skills that provide CRUD operations:
|
|
57
|
-
|
|
58
|
-
```markdown
|
|
59
|
-
## Operations
|
|
60
|
-
|
|
61
|
-
### Operation 1: {Name}
|
|
62
|
-
|
|
63
|
-
**When:** {Trigger condition}
|
|
64
|
-
**Then:** {What happens}
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
1. {Step 1}
|
|
68
|
-
2. {Step 2}
|
|
69
|
-
3. Return {result}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
### Operation 2: {Name}
|
|
73
|
-
|
|
74
|
-
**When:** {Trigger condition}
|
|
75
|
-
**Then:** {What happens}
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
Input: {Input description}
|
|
79
|
-
|
|
80
|
-
Process:
|
|
81
|
-
1. {Step 1}
|
|
82
|
-
2. IF {condition}:
|
|
83
|
-
→ {Action A}
|
|
84
|
-
ELSE:
|
|
85
|
-
→ {Action B}
|
|
86
|
-
3. {Step 3}
|
|
87
|
-
```
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Blocking Rules Pattern
|
|
91
|
-
|
|
92
|
-
Use for critical checkpoints that must not be skipped:
|
|
93
|
-
|
|
94
|
-
```markdown
|
|
95
|
-
**⛔ BLOCKING RULES:**
|
|
96
|
-
- Step 3: Continue asking until ALL ambiguities resolved
|
|
97
|
-
- Step 5 → Human Review: Human MUST approve before proceeding
|
|
98
|
-
- Step 2: MUST validate input before processing
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Gate Conditions
|
|
102
|
-
|
|
103
|
-
Common gate condition patterns:
|
|
104
|
-
|
|
105
|
-
| Gate Type | Example |
|
|
106
|
-
|-----------|---------|
|
|
107
|
-
| Completion | "Document created", "Analysis complete" |
|
|
108
|
-
| Validation | "All tests pass", "Schema valid" |
|
|
109
|
-
| Approval | "Human review", "Approval received" |
|
|
110
|
-
| Threshold | "Coverage ≥ 80%", "Score > 0.9" |
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
# {Skill Name} - Examples
|
|
2
|
-
|
|
3
|
-
> This file contains detailed execution examples for the {skill-name} skill.
|
|
4
|
-
> Reference from SKILL.md: `See [references/examples.md](references/examples.md)`
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Example 1: {Scenario Name}
|
|
9
|
-
|
|
10
|
-
**Request:** "{Example request from user}"
|
|
11
|
-
|
|
12
|
-
**Context:**
|
|
13
|
-
- {Relevant context 1}
|
|
14
|
-
- {Relevant context 2}
|
|
15
|
-
|
|
16
|
-
**Execution:**
|
|
17
|
-
```
|
|
18
|
-
1. Execute Task Flow from task-execution-guideline skill
|
|
19
|
-
|
|
20
|
-
2. {Step 1 - DoR Check}:
|
|
21
|
-
- Verify prerequisite 1: ✓
|
|
22
|
-
- Verify prerequisite 2: ✓
|
|
23
|
-
|
|
24
|
-
3. {Step 2 - Main Action}:
|
|
25
|
-
- {Detail 1}
|
|
26
|
-
- {Detail 2}
|
|
27
|
-
- {Detail 3}
|
|
28
|
-
|
|
29
|
-
4. {Step 3 - Verification}:
|
|
30
|
-
- Check output 1: ✓
|
|
31
|
-
- Check output 2: ✓
|
|
32
|
-
|
|
33
|
-
5. Return Task Completion Output:
|
|
34
|
-
status: completed
|
|
35
|
-
category: {category}
|
|
36
|
-
next_task_type: {Next Task Type}
|
|
37
|
-
require_human_review: {Yes | No}
|
|
38
|
-
task_output_links:
|
|
39
|
-
- {output path 1}
|
|
40
|
-
- {output path 2}
|
|
41
|
-
|
|
42
|
-
6. Resume Task Flow from task-execution-guideline skill
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
**Output Files Created:**
|
|
46
|
-
- `{path/to/output1}` - {description}
|
|
47
|
-
- `{path/to/output2}` - {description}
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## Example 2: {Edge Case Scenario}
|
|
52
|
-
|
|
53
|
-
**Request:** "{Edge case request}"
|
|
54
|
-
|
|
55
|
-
**Context:**
|
|
56
|
-
- {Special condition 1}
|
|
57
|
-
- {Special condition 2}
|
|
58
|
-
|
|
59
|
-
**Execution:**
|
|
60
|
-
```
|
|
61
|
-
1. {Handle edge case step 1}
|
|
62
|
-
2. {Handle edge case step 2}
|
|
63
|
-
3. {Return appropriate output}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**Notes:**
|
|
67
|
-
- {Important consideration for this edge case}
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## Example 3: {Error Handling Scenario}
|
|
72
|
-
|
|
73
|
-
**Request:** "{Request that triggers error path}"
|
|
74
|
-
|
|
75
|
-
**Context:**
|
|
76
|
-
- {Missing prerequisite or invalid state}
|
|
77
|
-
|
|
78
|
-
**Execution:**
|
|
79
|
-
```
|
|
80
|
-
1. DoR Check:
|
|
81
|
-
- Prerequisite 1: ✗ NOT MET
|
|
82
|
-
|
|
83
|
-
2. BLOCKED - Cannot proceed
|
|
84
|
-
- Reason: {why blocked}
|
|
85
|
-
- Action: {what to do}
|
|
86
|
-
|
|
87
|
-
3. Return to human:
|
|
88
|
-
"Cannot proceed with {task}.
|
|
89
|
-
Missing: {what's missing}
|
|
90
|
-
Please: {action needed}"
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
---
|
|
94
|
-
|
|
95
|
-
## Template Notes
|
|
96
|
-
|
|
97
|
-
When creating examples for a new skill:
|
|
98
|
-
|
|
99
|
-
1. **Include at minimum:**
|
|
100
|
-
- One happy path example (Example 1)
|
|
101
|
-
- One edge case example (Example 2)
|
|
102
|
-
- One error/blocked scenario (Example 3)
|
|
103
|
-
|
|
104
|
-
2. **Example structure:**
|
|
105
|
-
- Request: What the user asked
|
|
106
|
-
- Context: Relevant state/conditions
|
|
107
|
-
- Execution: Step-by-step with checkmarks
|
|
108
|
-
- Output: Files created and completion output
|
|
109
|
-
|
|
110
|
-
3. **Keep examples realistic:**
|
|
111
|
-
- Use concrete file paths and values
|
|
112
|
-
- Show actual output format
|
|
113
|
-
- Include verification steps
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
# Skill Category Template
|
|
2
|
-
|
|
3
|
-
Use this template when creating a skill that manages boards or category-level data.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
```markdown
|
|
8
|
-
---
|
|
9
|
-
name: {category}+{operation-name}
|
|
10
|
-
description: {Brief description of what this skill manages}. {When to use}. Provides operations for {operation types}.
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# {Skill Name}
|
|
14
|
-
|
|
15
|
-
## Purpose
|
|
16
|
-
|
|
17
|
-
AI Agents follow this skill to {what the skill manages}. This skill {mandatory/optional context}.
|
|
18
|
-
|
|
19
|
-
**Operations:**
|
|
20
|
-
1. **{Operation 1}** - {Brief description}
|
|
21
|
-
2. **{Operation 2}** - {Brief description}
|
|
22
|
-
3. **{Operation 3}** - {Brief description}
|
|
23
|
-
4. **{Operation 4}** - {Brief description}
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Important Notes
|
|
28
|
-
|
|
29
|
-
**Important:** {Any critical notes about skill usage}
|
|
30
|
-
|
|
31
|
-
**Important:** If Agent DO NOT have skill capability, can directly go to `.github/skills/` folder to learn skills. And SKILL.md file is the entry point to understand each skill.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## Input: {Data Model Name}
|
|
36
|
-
|
|
37
|
-
This skill receives the {Data Model Name} from {source}:
|
|
38
|
-
|
|
39
|
-
```yaml
|
|
40
|
-
{DataModel}:
|
|
41
|
-
# Core fields
|
|
42
|
-
{field_1}: {type/description}
|
|
43
|
-
{field_2}: {type/description}
|
|
44
|
-
{field_3}: {type/description}
|
|
45
|
-
|
|
46
|
-
# Execution fields
|
|
47
|
-
{field_4}: {type/description}
|
|
48
|
-
{field_5}: {type/description}
|
|
49
|
-
|
|
50
|
-
# Control fields
|
|
51
|
-
{field_6}: {type/description}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## {Entity} States
|
|
57
|
-
|
|
58
|
-
| State | Terminal? | Description |
|
|
59
|
-
|-------|-----------|-------------|
|
|
60
|
-
| `{state_1}` | No | {Description} |
|
|
61
|
-
| `{state_2}` | No | {Description} |
|
|
62
|
-
| `{state_3}` | No | {Description} |
|
|
63
|
-
| `{state_4}` | Yes | {Description} |
|
|
64
|
-
| `{state_5}` | Yes | {Description} |
|
|
65
|
-
|
|
66
|
-
### Valid Transitions
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
{state_1} → {state_2}
|
|
70
|
-
{state_2} → {state_4} | {state_3} | {state_5}
|
|
71
|
-
{state_3} → {state_2}
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## {Board/Entity} Operations
|
|
77
|
-
|
|
78
|
-
### Operation 1: {Operation Name}
|
|
79
|
-
|
|
80
|
-
**When:** {Trigger condition}
|
|
81
|
-
**Then:** {What happens}
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
1. {Step 1}
|
|
85
|
-
2. {Step 2}
|
|
86
|
-
3. {Step 3}
|
|
87
|
-
4. Return {result}
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Operation 2: {Operation Name}
|
|
91
|
-
|
|
92
|
-
**When:** {Trigger condition}
|
|
93
|
-
**Then:** {What happens}
|
|
94
|
-
|
|
95
|
-
```
|
|
96
|
-
Input: {Input description}
|
|
97
|
-
|
|
98
|
-
Process:
|
|
99
|
-
1. {Step 1}
|
|
100
|
-
2. {Step 2}
|
|
101
|
-
3. {Step 3}
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### Operation 3: {Operation Name}
|
|
105
|
-
|
|
106
|
-
**When:** {Trigger condition}
|
|
107
|
-
**Then:** {What happens}
|
|
108
|
-
|
|
109
|
-
```
|
|
110
|
-
Input: {Input description}
|
|
111
|
-
|
|
112
|
-
Process:
|
|
113
|
-
1. {Step 1}
|
|
114
|
-
2. IF {condition}:
|
|
115
|
-
→ {Action}
|
|
116
|
-
3. {Step 3}
|
|
117
|
-
4. Update {what}
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
### Operation 4: {Operation Name}
|
|
121
|
-
|
|
122
|
-
**When:** {Trigger condition}
|
|
123
|
-
**Then:** {What happens}
|
|
124
|
-
|
|
125
|
-
```
|
|
126
|
-
Query Types:
|
|
127
|
-
1. By {field_1}: {Description}
|
|
128
|
-
2. By {field_2}: {Description}
|
|
129
|
-
3. By {field_3}: {Description}
|
|
130
|
-
|
|
131
|
-
Return: {What is returned}
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
### Operation 5: Validate {Entity} Integrity
|
|
135
|
-
|
|
136
|
-
**When:** ANY operation is performed
|
|
137
|
-
**Then:** Validate and fix issues
|
|
138
|
-
|
|
139
|
-
```
|
|
140
|
-
Process:
|
|
141
|
-
1. Scan {section 1}:
|
|
142
|
-
FOR each {item} in {section}:
|
|
143
|
-
IF {condition}:
|
|
144
|
-
→ {Fix action}
|
|
145
|
-
→ Log: "{message}"
|
|
146
|
-
|
|
147
|
-
2. Scan {section 2}:
|
|
148
|
-
FOR each {item} in {section}:
|
|
149
|
-
IF {condition}:
|
|
150
|
-
→ {Fix action}
|
|
151
|
-
|
|
152
|
-
3. Reconcile {stats/counts}:
|
|
153
|
-
- {Check 1}
|
|
154
|
-
- {Check 2}
|
|
155
|
-
|
|
156
|
-
4. Return validation report
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
**⚠️ MANDATORY:** This operation runs automatically as the final step of ALL other operations.
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
## {Board/Data} Sections
|
|
164
|
-
|
|
165
|
-
The {board/data store} has these sections:
|
|
166
|
-
|
|
167
|
-
### {Section 1 Name}
|
|
168
|
-
```yaml
|
|
169
|
-
{field}: {default value}
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
### {Section 2 Name}
|
|
173
|
-
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
174
|
-
|----------|----------|----------|----------|
|
|
175
|
-
|
|
176
|
-
Contains: {What goes here}
|
|
177
|
-
⛔ **{Constraint}**
|
|
178
|
-
|
|
179
|
-
### {Section 3 Name}
|
|
180
|
-
| Column 1 | Column 2 | Column 3 |
|
|
181
|
-
|----------|----------|----------|
|
|
182
|
-
|
|
183
|
-
Contains: {What goes here}
|
|
184
|
-
✅ **{Requirement}**
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
|
-
## Status Symbols
|
|
189
|
-
|
|
190
|
-
| Status | Symbol | Description |
|
|
191
|
-
|--------|--------|-------------|
|
|
192
|
-
| {status_1} | {emoji} | {Description} |
|
|
193
|
-
| {status_2} | {emoji} | {Description} |
|
|
194
|
-
| {status_3} | {emoji} | {Description} |
|
|
195
|
-
| {status_4} | {emoji} | {Description} |
|
|
196
|
-
|
|
197
|
-
---
|
|
198
|
-
|
|
199
|
-
## Templates
|
|
200
|
-
|
|
201
|
-
- `templates/{template-1}.md` - {Description}
|
|
202
|
-
- `templates/{template-2}.yaml` - {Description}
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
## Examples
|
|
207
|
-
|
|
208
|
-
### Example 1: {Example Name}
|
|
209
|
-
|
|
210
|
-
**Request:** "{Example request}"
|
|
211
|
-
|
|
212
|
-
```
|
|
213
|
-
Step 1: {Action}
|
|
214
|
-
→ {Detail}
|
|
215
|
-
|
|
216
|
-
Step 2: {Action}
|
|
217
|
-
→ {Detail}
|
|
218
|
-
|
|
219
|
-
Step 3: {Action}
|
|
220
|
-
→ {Detail}
|
|
221
|
-
|
|
222
|
-
Result: {Outcome}
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
### Example 2: {Example Name}
|
|
226
|
-
|
|
227
|
-
**Request:** "{Example request}"
|
|
228
|
-
|
|
229
|
-
```
|
|
230
|
-
Step 1: {Action}
|
|
231
|
-
→ {Detail}
|
|
232
|
-
|
|
233
|
-
Step 2: {Action}
|
|
234
|
-
→ {Detail}
|
|
235
|
-
|
|
236
|
-
Result: {Outcome}
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
### Example 3: {Example Name}
|
|
240
|
-
|
|
241
|
-
**Scenario:** {Scenario description}
|
|
242
|
-
|
|
243
|
-
```
|
|
244
|
-
Initial State:
|
|
245
|
-
{Section}:
|
|
246
|
-
- {Item 1}
|
|
247
|
-
- {Item 2}
|
|
248
|
-
|
|
249
|
-
Step 1: {Action}
|
|
250
|
-
→ {Result}
|
|
251
|
-
|
|
252
|
-
Step 2: {Action}
|
|
253
|
-
→ {Result}
|
|
254
|
-
|
|
255
|
-
Final State:
|
|
256
|
-
{Section}:
|
|
257
|
-
- {Item 1}
|
|
258
|
-
- {Item 2}
|
|
259
|
-
```
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
---
|
|
263
|
-
|
|
264
|
-
## Template Usage Notes
|
|
265
|
-
|
|
266
|
-
### Required Sections (Must Include)
|
|
267
|
-
|
|
268
|
-
1. **Frontmatter** - name (category+operation format) and description
|
|
269
|
-
2. **Purpose** - what skill manages with operation list
|
|
270
|
-
3. **Important Notes** - critical usage notes
|
|
271
|
-
4. **Input Data Model** - YAML schema of input
|
|
272
|
-
5. **States** - valid states and transitions
|
|
273
|
-
6. **Operations** - all CRUD operations
|
|
274
|
-
7. **Board/Data Sections** - structure of managed data
|
|
275
|
-
8. **Status Symbols** - visual indicators
|
|
276
|
-
9. **Templates** - reference to template files
|
|
277
|
-
10. **Examples** - at least 2-3 concrete examples
|
|
278
|
-
|
|
279
|
-
### Optional Sections (Add if Needed)
|
|
280
|
-
|
|
281
|
-
- **Legend** - if categories or types need explanation
|
|
282
|
-
- **Integration** - if other skills call this skill
|
|
283
|
-
- **Notes** - additional guidance
|
|
284
|
-
|
|
285
|
-
### Naming Convention
|
|
286
|
-
|
|
287
|
-
Skill category skills use compound names:
|
|
288
|
-
- `{category}+{operation-name}`
|
|
289
|
-
- Examples:
|
|
290
|
-
- `feature-stage+feature-board-management`
|
|
291
|
-
- `requirement-stage+requirement-board-management`
|
|
292
|
-
- `ideation-stage+ideation-board-management`
|
|
293
|
-
|
|
294
|
-
For standalone board management:
|
|
295
|
-
- `{entity}-board-management`
|
|
296
|
-
- Example: `task-board-management`
|