@sk8metal/michi-cli 0.11.0 → 0.12.0
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.
- package/README.md +3 -10
- package/dist/scripts/constants/environments.d.ts +1 -1
- package/dist/scripts/constants/environments.d.ts.map +1 -1
- package/dist/scripts/constants/environments.js +0 -20
- package/dist/scripts/constants/environments.js.map +1 -1
- package/dist/scripts/utils/template-finder.d.ts +2 -2
- package/dist/scripts/utils/template-finder.d.ts.map +1 -1
- package/dist/scripts/utils/template-finder.js +3 -8
- package/dist/scripts/utils/template-finder.js.map +1 -1
- package/dist/src/cli.d.ts.map +1 -1
- package/dist/src/cli.js +0 -8
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/init.d.ts +0 -4
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +6 -30
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/setup-existing.d.ts +2 -6
- package/dist/src/commands/setup-existing.d.ts.map +1 -1
- package/dist/src/commands/setup-existing.js +8 -142
- package/dist/src/commands/setup-existing.js.map +1 -1
- package/docs/getting-started/configuration.md +0 -29
- package/docs/getting-started/quick-start.md +2 -2
- package/docs/guides/workflow.md +1 -1
- package/docs/reference/cli.md +0 -4
- package/docs/troubleshooting.md +0 -45
- package/package.json +1 -3
- package/scripts/__tests__/create-project.test.ts +12 -12
- package/scripts/__tests__/setup-existing-project.test.ts +22 -22
- package/scripts/constants/__tests__/environments.test.ts +7 -50
- package/scripts/constants/environments.ts +1 -27
- package/scripts/template/__tests__/renderer.test.ts +21 -21
- package/scripts/utils/template-finder.ts +5 -11
- package/docs/guides/ai-tools.md +0 -311
- package/templates/cline/rules/atlassian-integration.md +0 -36
- package/templates/cline/rules/michi-core.md +0 -56
- package/templates/codex/AGENTS.override.md +0 -277
- package/templates/codex/prompts/confluence-sync.md +0 -177
- package/templates/codex/rules/README.md +0 -210
- package/templates/cursor/commands/kiro/kiro-spec-impl.md +0 -244
- package/templates/cursor/commands/kiro/kiro-spec-tasks.md +0 -354
- package/templates/cursor/commands/michi/confluence-sync.md +0 -76
- package/templates/cursor/commands/michi/project-switch.md +0 -69
- package/templates/cursor/commands/michi/spec-tasks.md +0 -117
- package/templates/cursor/rules/atlassian-mcp.mdc +0 -188
- package/templates/cursor/rules/github-ssot.mdc +0 -151
- package/templates/cursor/rules/multi-project.mdc +0 -81
- package/templates/gemini/commands/README.md +0 -41
- package/templates/gemini/rules/GEMINI.md +0 -80
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# Michi Core Principles for Gemini CLI
|
|
2
|
-
|
|
3
|
-
## Development Guidelines
|
|
4
|
-
{{DEV_GUIDELINES}}
|
|
5
|
-
|
|
6
|
-
## Language
|
|
7
|
-
All generated documents should be in: **{{LANG_CODE}}**
|
|
8
|
-
|
|
9
|
-
Reference the language field in {{KIRO_DIR}}/project.json.
|
|
10
|
-
|
|
11
|
-
## Single Source of Truth (SSoT)
|
|
12
|
-
|
|
13
|
-
### GitHub as SSoT
|
|
14
|
-
- **All specifications are managed in GitHub** ({{KIRO_DIR}}/specs/)
|
|
15
|
-
- Confluence is **reference and approval only** (editing is GitHub only)
|
|
16
|
-
- Avoid duplicate management
|
|
17
|
-
|
|
18
|
-
### Data Flow
|
|
19
|
-
```
|
|
20
|
-
GitHub ({{KIRO_DIR}}/specs/) ← Source of truth (editable)
|
|
21
|
-
↓ sync
|
|
22
|
-
Confluence ← Display and approval (read-only)
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Multi-Project Management
|
|
26
|
-
|
|
27
|
-
### Project Identification
|
|
28
|
-
- All operations reference {{KIRO_DIR}}/project.json
|
|
29
|
-
- Dynamically use project ID, JIRA key, Confluence labels
|
|
30
|
-
- Project ID: {{PROJECT_ID}}
|
|
31
|
-
|
|
32
|
-
### Naming Conventions
|
|
33
|
-
|
|
34
|
-
#### Confluence Pages
|
|
35
|
-
- Format: `[{projectName}] {document_type}`
|
|
36
|
-
- Example: `[{{PROJECT_ID}}] Requirements`
|
|
37
|
-
|
|
38
|
-
#### JIRA Epic/Story
|
|
39
|
-
- Format: `[{JIRA_KEY}] {title}`
|
|
40
|
-
- Use project metadata from {{KIRO_DIR}}/project.json
|
|
41
|
-
|
|
42
|
-
## Project Structure
|
|
43
|
-
|
|
44
|
-
- Project metadata: {{KIRO_DIR}}/project.json
|
|
45
|
-
- Specifications: {{KIRO_DIR}}/specs/
|
|
46
|
-
- Templates: {{KIRO_DIR}}/settings/templates/
|
|
47
|
-
- Steering: {{KIRO_DIR}}/steering/
|
|
48
|
-
|
|
49
|
-
## Workflow Integration
|
|
50
|
-
|
|
51
|
-
### Spec Generation
|
|
52
|
-
Use Gemini CLI to generate specifications in {{KIRO_DIR}}/specs/
|
|
53
|
-
|
|
54
|
-
### Git Integration
|
|
55
|
-
```bash
|
|
56
|
-
# After spec generation
|
|
57
|
-
git add {{KIRO_DIR}}/specs/
|
|
58
|
-
git commit -m "docs: Add <feature> specification"
|
|
59
|
-
git push
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Confluence Sync
|
|
63
|
-
Sync GitHub specs to Confluence using Michi commands:
|
|
64
|
-
```bash
|
|
65
|
-
# Example: Sync requirements
|
|
66
|
-
npm run confluence:sync
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Best Practices
|
|
70
|
-
|
|
71
|
-
1. **Always reference project.json** for project-specific metadata
|
|
72
|
-
2. **Use SSoT principle** - Edit in GitHub, reference in Confluence
|
|
73
|
-
3. **Follow naming conventions** for consistency
|
|
74
|
-
4. **Generate specs incrementally** - Requirements → Design → Tasks
|
|
75
|
-
5. **Commit frequently** to GitHub
|
|
76
|
-
|
|
77
|
-
## Additional Context
|
|
78
|
-
|
|
79
|
-
For Atlassian integration rules and multi-project management details,
|
|
80
|
-
see extensions in {{KIRO_DIR}}/.gemini/extensions/
|