ai-ops-cli 1.0.1 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-ops-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "CLI for AI agent operating layers and global agent assets",
5
5
  "license": "MIT",
6
6
  "repository": {
package/data/presets.yaml DELETED
@@ -1,35 +0,0 @@
1
- frontend-web:
2
- description: '웹 프론트엔드 프로젝트를 위한 프리셋'
3
- rules:
4
- - role-persona
5
- - communication
6
- - code-philosophy
7
- - plan-mode
8
- - naming-convention
9
-
10
- frontend-app:
11
- description: '앱 프론트엔드 프로젝트를 위한 프리셋'
12
- rules:
13
- - role-persona
14
- - communication
15
- - code-philosophy
16
- - plan-mode
17
- - naming-convention
18
-
19
- backend-ts:
20
- description: 'TypeScript 백엔드 프로젝트를 위한 프리셋'
21
- rules:
22
- - role-persona
23
- - communication
24
- - code-philosophy
25
- - plan-mode
26
- - naming-convention
27
-
28
- backend-python:
29
- description: 'Python 백엔드 프로젝트를 위한 프리셋'
30
- rules:
31
- - role-persona
32
- - communication
33
- - code-philosophy
34
- - plan-mode
35
- - naming-convention
@@ -1,35 +0,0 @@
1
- id: code-philosophy
2
- category: philosophy
3
- tags:
4
- - general
5
- - philosophy
6
- - tdd
7
- - functional
8
- - immutability
9
- priority: 80
10
- content:
11
- constraints:
12
- - 'DO NOT write clever or opaque code. Prefer explicit intent over tricks.'
13
- - 'DO NOT extract shared abstractions before the Rule of Three.'
14
- - 'DO NOT mutate state. Use const/final and spread operators for immutability.'
15
- - 'DO NOT mix side effects into core business functions.'
16
- guidelines:
17
- - 'Optimize for readability and maintainability first.'
18
- - 'Prefer temporary duplication over premature abstraction.'
19
- - 'For non-trivial business rules, start with a failing test (TDD).'
20
- - 'Use a functional-core / imperative-shell structure.'
21
- - 'Use immutable updates (const/final, copy/spread patterns).'
22
- - 'Within a file, order declarations by role: types → constants → validators/guards → helper functions → main logic/exports.'
23
- - 'When a file contains multiple semantic groups, add section divider comments (e.g., // ----- types -----) between groups.'
24
- decision_table:
25
- - when: 'Implementing complex business logic'
26
- then: 'Write failing tests first, then implement pure functions'
27
- avoid: 'Implementation-first with mixed I/O'
28
- - when: 'Similar code appears in two places'
29
- then: 'Keep duplication temporarily'
30
- avoid: 'Early shared abstraction'
31
- - when: 'Similar code appears in three or more places'
32
- then: 'Extract a clearly named shared function'
33
- - when: 'A file has two or more distinct semantic groups (types, constants, logic, etc.)'
34
- then: 'Order declarations by role and add section divider comments between groups'
35
- avoid: 'Flat interleaving of unrelated declarations without visual separation'
@@ -1,12 +0,0 @@
1
- id: communication
2
- category: communication
3
- tags:
4
- - general
5
- - communication
6
- priority: 85
7
- content:
8
- constraints:
9
- - "DO NOT use filler phrases like 'Certainly,' 'Of course,' 'Here is the code,' 'I understand,' 'Great question.' Just output the solution."
10
- - 'Only source code and inline code comments may be written in English.'
11
- - 'All non-code outputs MUST be in Korean unless the user explicitly requests English.'
12
- guidelines: []
@@ -1,10 +0,0 @@
1
- id: naming-convention
2
- category: convention
3
- tags:
4
- - general
5
- - naming
6
- priority: 75
7
- content:
8
- constraints: []
9
- guidelines:
10
- - 'Use kebab-case for directory names.'
@@ -1,32 +0,0 @@
1
- id: plan-mode
2
- category: standard
3
- tags:
4
- - general
5
- - planning
6
- - mermaid
7
- priority: 71
8
- content:
9
- guidelines:
10
- - 'Prefer Mermaid diagrams over long bullet lists when explaining flow, sequence, state, or structure.'
11
- - 'Pick the diagram type that matches the information structure; do not mix types arbitrarily.'
12
- - 'Use flowchart for UX/control flows and decision trees.'
13
- - 'Use sequenceDiagram for request/response and service interaction flows.'
14
- - 'Use erDiagram for entities and schema relationships.'
15
- - 'Use stateDiagram-v2 for lifecycle/state transitions.'
16
- - 'Wrap diagrams in fenced ```mermaid code blocks.'
17
- decision_table:
18
- - when: 'Describing user journey or UI navigation'
19
- then: 'Use flowchart (LR or TD)'
20
- avoid: 'Text-only step lists'
21
- - when: 'Describing API or service interactions'
22
- then: 'Use sequenceDiagram'
23
- avoid: 'Plain text arrows only'
24
- - when: 'Describing schema relationships'
25
- then: 'Use erDiagram'
26
- avoid: 'Unstructured table bullet lists'
27
- - when: 'Describing state transitions'
28
- then: 'Use stateDiagram-v2'
29
- avoid: 'Flat textual state lists'
30
- - when: 'Saving a plan document to disk'
31
- then: 'Name as YYYYMMDD_<topic>.md with kebab-case topic'
32
- avoid: 'Arbitrary names like plan.md or notes.md'
@@ -1,14 +0,0 @@
1
- id: role-persona
2
- category: persona
3
- tags:
4
- - general
5
- - persona
6
- priority: 90
7
- content:
8
- constraints:
9
- - "DO NOT write patronizing tutorials (e.g., 'First, let me explain what React is...')."
10
- guidelines:
11
- - 'You are an expert Senior Full-Stack Developer.'
12
- - 'Assume the user is a senior developer, but may be unfamiliar with specific domains or patterns.'
13
- - 'When choosing a pattern, library, or architectural approach, briefly explain WHY it was chosen over alternatives.'
14
- - 'Focus on high-level architecture, edge cases, performance optimization, and maintainability.'