agentic-code 0.6.6 → 0.6.8

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.
@@ -97,6 +97,10 @@ description: "Guides PRD, ADR, Design Doc, and Work Plan creation. Use when: pla
97
97
  - Complete enumeration of integration points
98
98
  - Data contract clarification
99
99
  - **Agreement checklist** (agreements with stakeholders)
100
+ - **Code inspection evidence** (inspected files/functions during investigation)
101
+ - **Field propagation map** (when fields cross component boundaries)
102
+ - **Data representation decision** (when introducing new structures)
103
+ - **Applicable standards** (explicit/implicit classification)
100
104
  - **Prerequisite ADRs** (including common ADRs)
101
105
 
102
106
  **Required Structural Elements**:
@@ -148,6 +152,7 @@ API Contract Change Matrix:
148
152
  ## Creation Process
149
153
 
150
154
  1. **Problem Analysis**: Change scale assessment, ADR condition check
155
+ - Identify explicit and implicit project standards before investigation
151
156
  2. **ADR Option Consideration** (ADR only): Compare 3+ options, specify trade-offs
152
157
  3. **Creation**: Use templates, include measurable conditions
153
158
  4. **Approval**: "Accepted" after review enables implementation
@@ -102,12 +102,31 @@ Create ADR and Design Documents.
102
102
  □ Acceptance criteria defined and verifiable
103
103
  □ References cited
104
104
  □ Complexity assessment completed (if medium/high, rationale justifies necessity)
105
+ □ Standards identification gate completed
106
+ □ Code inspection evidence recorded
107
+ □ Data representation decision documented (when new structures introduced)
108
+ □ Field propagation map included (when fields cross boundaries)
105
109
 
106
110
  ## Mandatory Process Before Document Creation [STRICT COMPLIANCE]
107
111
 
108
112
  **These steps MUST be completed to pass the entry gate:**
109
113
 
110
- ### 1. Existing Documentation Investigation [REQUIRED - CANNOT SKIP]
114
+ ### 1. Standards Identification Gate [REQUIRED - CANNOT SKIP]
115
+ Must be performed before any investigation:
116
+
117
+ 1. **Identify Project Standards**
118
+ - Scan project configuration, rule files, and existing code patterns
119
+ - Classify each: **Explicit** (documented) or **Implicit** (observed pattern only)
120
+
121
+ 2. **Record in Design Doc**
122
+ - List in "Applicable Standards" section with `[explicit]`/`[implicit]` tags
123
+ - Implicit standards require user confirmation before design proceeds
124
+
125
+ 3. **Alignment Rule**
126
+ - Design decisions must reference applicable standards
127
+ - Deviations require documented rationale
128
+
129
+ ### 2. Existing Documentation Investigation [REQUIRED - CANNOT SKIP]
111
130
  Must be performed before any design:
112
131
 
113
132
  1. **PRD Investigation** (if applicable)
@@ -128,7 +147,7 @@ Must be performed before any design:
128
147
  - Check for superseded ADRs that might need updating
129
148
  - List applicable ADRs in "Prerequisite ADRs" section
130
149
 
131
- ### 2. Existing Code Investigation [REQUIRED - CANNOT SKIP]
150
+ ### 3. Existing Code Investigation [REQUIRED - CANNOT SKIP]
132
151
  Must be performed after documentation review:
133
152
 
134
153
  1. **Implementation File Path Verification**
@@ -153,7 +172,24 @@ Must be performed after documentation review:
153
172
  - Clearly document similar functionality search results
154
173
  - Record adopted decision and rationale
155
174
 
156
- ### 3. Agreement Checklist【MOST IMPORTANT】
175
+ 5. **Code Inspection Evidence**
176
+ - Record all inspected files and key functions in "Code Inspection Evidence" section of Design Doc
177
+ - Each entry must state relevance (similar functionality / integration point / pattern reference)
178
+
179
+ ### 4. Data Representation Decision [REQUIRED WHEN APPLICABLE]
180
+ When the design introduces or significantly modifies data structures:
181
+
182
+ 1. **Reuse-vs-New Assessment**
183
+ - Search for existing structures with overlapping purpose
184
+ - Evaluate: semantic fit, responsibility fit, lifecycle fit, boundary/interop cost
185
+
186
+ 2. **Decision Rule**
187
+ - All criteria satisfied → Reuse existing
188
+ - 1-2 criteria fail → Evaluate extension with adapter
189
+ - 3+ criteria fail → New structure justified
190
+ - Record decision and rationale in Design Doc
191
+
192
+ ### 5. Agreement Checklist【MOST IMPORTANT】
157
193
  Must be performed at the beginning of Design Doc creation:
158
194
 
159
195
  1. **List agreements with user in bullet points**
@@ -167,7 +203,7 @@ Must be performed at the beginning of Design Doc creation:
167
203
  - [ ] Confirm no design contradicts agreements
168
204
  - [ ] If any agreements not reflected, state reason
169
205
 
170
- ### 4. Latest Information Research [BLOCKING REQUIREMENT]
206
+ ### 6. Latest Information Research [BLOCKING REQUIREMENT]
171
207
 
172
208
  **Web research MUST use SESSION_BASELINE_DATE year - NEVER hardcoded years:**
173
209
  - Format: "[technology] best practices [YEAR from SESSION_BASELINE_DATE]"
@@ -283,9 +319,19 @@ unknowns:
283
319
  - [ ] Constraints: [limitations]
284
320
  - [ ] Performance: [requirements]
285
321
 
322
+ #### Applicable Standards
323
+ - [ ] [Standard/convention] `[explicit]` - Source: [config / rule file / documentation path]
324
+ - [ ] [Observed pattern] `[implicit]` - Evidence: [file paths] - Confirmed: [Yes/No]
325
+
286
326
  ## Existing Codebase Analysis
287
327
  [Investigation results, similar functionality, decision]
288
328
 
329
+ ### Code Inspection Evidence
330
+
331
+ | File/Function | Relevance |
332
+ |---------------|-----------|
333
+ | [path:function] | [similar functionality / integration point / pattern reference] |
334
+
289
335
  ## Requirements
290
336
  [Functional, Non-functional, Constraints]
291
337
 
@@ -313,6 +359,17 @@ unknowns:
313
359
  ### Integration Point Analysis [MANDATORY for feature modifications]
314
360
  [Use format from section above]
315
361
 
362
+ ### Data Representation Decision (When Introducing New Structures)
363
+
364
+ | Criterion | Assessment | Reason |
365
+ |-----------|-----------|--------|
366
+ | Semantic Fit | [Yes/No] | [Does existing structure's meaning align?] |
367
+ | Responsibility Fit | [Yes/No] | [Same bounded context?] |
368
+ | Lifecycle Fit | [Yes/No] | [Same creation/mutation/deletion timing?] |
369
+ | Boundary/Interop Cost | [Low/Medium/High] | [Cost of sharing across boundaries?] |
370
+
371
+ **Decision**: [reuse / extend / new] — [rationale in 1-2 sentences]
372
+
316
373
  ## Implementation Details
317
374
 
318
375
  ### Technology Stack
@@ -321,6 +378,12 @@ unknowns:
321
378
  ### Change Impact Map
322
379
  [Target, Direct impact, Indirect impact]
323
380
 
381
+ ### Field Propagation Map (When Fields Cross Boundaries)
382
+
383
+ | Field | Boundary | Status | Detail |
384
+ |-------|----------|--------|--------|
385
+ | [field name] | [Component A → B] | preserved / transformed / dropped | [logic or reason] |
386
+
324
387
  ## Testing Strategy
325
388
  [Unit and integration test approaches]
326
389
 
@@ -60,6 +60,9 @@ Confirm document type and determine validation baseline:
60
60
 
61
61
  ### Stage 2: Structure Compliance Check
62
62
 
63
+ #### Gate 0: Structural Existence (must pass before quality review)
64
+ Verify required elements exist per template. Gate 0 failure on any item → `blocked`.
65
+
63
66
  #### For Design Doc
64
67
 
65
68
  | Required Section | Check Item |
@@ -68,13 +71,19 @@ Confirm document type and determine validation baseline:
68
71
  | Design Summary (Meta) | risk_level, constraints, unknowns defined |
69
72
  | Agreement Checklist | Scope/Non-scope/Constraints documented |
70
73
  | Existing Codebase Analysis | Investigation results included |
74
+ | Applicable Standards | Explicit/implicit classification listed |
75
+ | Code Inspection Evidence | Inspected files and functions recorded |
71
76
  | Acceptance Criteria | Specific, testable conditions |
72
77
  | Architecture | Approach, components, data flow defined |
73
78
  | Integration Points | External dependencies identified |
79
+ | Field Propagation Map | Present when fields cross boundaries |
74
80
  | Testing Strategy | Test approach outlined |
75
81
  | Risks and Mitigations | Technical risks documented |
76
82
  | References | Sources cited |
77
83
 
84
+ #### Gate 1: Quality Assessment (only after Gate 0 passes)
85
+ Proceed to Stage 3-5 only after all Gate 0 structural checks pass.
86
+
78
87
  #### For ADR
79
88
 
80
89
  | Required Section | Check Item |
@@ -104,8 +113,10 @@ Confirm document type and determine validation baseline:
104
113
  | Specificity | Concrete, not vague | Abstract statements without examples |
105
114
  | Testability | Acceptance criteria verifiable | Cannot be tested |
106
115
  | Consistency | No internal contradictions | Sections contradict each other |
107
- | Completeness | All required sections present | Missing sections |
116
+ | Completeness | All required sections present with depth | Missing sections |
108
117
  | Clarity | Unambiguous language | Multiple interpretations possible |
118
+ | Rationale Verification | Design decisions reference identified standards | Unverifiable rationale without standard reference |
119
+ | Code Inspection Evidence | Inspected files relevant to design scope | Key related files missing from evidence |
109
120
 
110
121
  ### Stage 4: Failure Scenario Review (Design Docs Only)
111
122
 
@@ -153,17 +164,25 @@ When sources exist:
153
164
  - [ ] Terminology used consistently
154
165
  - [ ] Scope aligned throughout document
155
166
 
167
+ ### Design Doc Additional Validation
168
+ - [ ] Gate 0 structural existence checks pass before quality review
169
+ - [ ] Design decision rationales verified against identified standards/patterns
170
+ - [ ] Code inspection evidence covers files relevant to design scope
171
+ - [ ] Field propagation map present when fields cross component boundaries
172
+
156
173
  ## Output Format
157
174
 
158
175
  ### Status Determination
159
176
 
160
177
  **approved**:
178
+ - Gate 0: All structural existence checks pass
161
179
  - All required sections present and complete
162
180
  - Content is specific and testable
163
181
  - Failure scenarios covered (Design Docs)
164
182
  - No high severity issues
165
183
 
166
184
  **needs_revision**:
185
+ - Gate 0: All structural existence checks pass
167
186
  - Some sections incomplete
168
187
  - Content quality issues exist
169
188
  - Failure scenarios partially covered
@@ -171,6 +190,7 @@ When sources exist:
171
190
  - Complexity level is medium/high but rationale does not justify necessity (Design Docs)
172
191
 
173
192
  **blocked**:
193
+ - Gate 0: Any structural existence check fails OR
174
194
  - Critical sections missing
175
195
  - Major contradictions found
176
196
  - Document type unclear
@@ -186,6 +206,9 @@ verdict: approved | needs_revision | blocked
186
206
  completenessRate: [X]%
187
207
 
188
208
  [STRUCTURE COMPLIANCE]
209
+ gate0:
210
+ status: pass | fail
211
+ missing_elements: []
189
212
  requiredSections: [count]
190
213
  presentSections: [count]
191
214
  missingSections:
package/README.md CHANGED
@@ -4,7 +4,7 @@ Your AI (LLM), guided by built-in workflows. Describe what you want, and it foll
4
4
 
5
5
  [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
6
6
  [![AGENTS.md](https://img.shields.io/badge/AGENTS.md-compliant-blue.svg)](https://agents.md)
7
- [![Version](https://img.shields.io/badge/version-0.6.6-blue.svg)](package.json)
7
+ [![Version](https://img.shields.io/badge/version-0.6.7-blue.svg)](package.json)
8
8
 
9
9
  ![Demo: Building a Slack bot with Agentic Code](.github/assets/demo.gif)
10
10
 
@@ -34,7 +34,7 @@ npx agentic-code my-project && cd my-project
34
34
  # Ready to go
35
35
  ```
36
36
 
37
- That's it. Works with **any AI tool** - Codex, Cursor, Aider, or anything [AGENTS.md](https://agents.md) compatible.
37
+ That's it. Works with **any AI tool** - Cursor, Codex, Aider, or anything [AGENTS.md](https://agents.md) compatible.
38
38
 
39
39
  ## Why This Exists
40
40
 
@@ -110,6 +110,20 @@ cp -r path/to/agentic-code/.agents .
110
110
 
111
111
  `.agents/skills/` contains reusable skill files in the [Codex Skills format](https://github.com/openai/codex/blob/main/docs/skills.md). Each skill has a `SKILL.md` with instructions that AI agents can discover and apply.
112
112
 
113
+ **Cursor**: Install skills for Cursor Editor:
114
+
115
+ ```bash
116
+ # User scope (all projects)
117
+ npx agentic-code skills --cursor
118
+ # Installs to ~/.cursor/skills/agentic-code/
119
+
120
+ # Project scope (current project only)
121
+ npx agentic-code skills --cursor --project
122
+ # Installs to ./.cursor/skills/agentic-code/
123
+ ```
124
+
125
+ > Note: Skills feature in Cursor requires Nightly release channel.
126
+
113
127
  **Codex**: Install skills for Codex CLI:
114
128
 
115
129
  ```bash
@@ -120,16 +134,19 @@ npx agentic-code skills --codex
120
134
  # Project scope (current project only)
121
135
  npx agentic-code skills --codex --project
122
136
  # Installs to ./.codex/skills/agentic-code/
137
+ ```
123
138
 
124
- # Custom path
139
+ **Custom path**:
140
+
141
+ ```bash
125
142
  npx agentic-code skills --path ./custom/skills
126
143
  # Installs to ./custom/skills/agentic-code/
127
144
  ```
128
145
 
129
146
  ## Common Questions
130
147
 
131
- **Q: Can I use this with other AI coding tools besides Codex?**
132
- Yes! This framework works with any AGENTS.md-compatible tool like Cursor, Aider, and other LLM-assisted development environments.
148
+ **Q: Can I use this with other AI coding tools?**
149
+ Yes! This framework works with any AGENTS.md-compatible tool like Cursor, Codex, Aider, and other LLM-assisted development environments.
133
150
 
134
151
  **Q: What programming languages are supported?**
135
152
  The framework is language-agnostic and works with any programming language through general development principles. TypeScript-specific rules are available in `skills/*/references/typescript.md`.
package/bin/cli.js CHANGED
@@ -9,8 +9,8 @@ const args = process.argv.slice(2);
9
9
 
10
10
  // Subcommand routing
11
11
  if (args[0] === 'skills') {
12
- // Delegate to install-codex-skills
13
- const installSkills = require('./install-codex-skills');
12
+ // Delegate to install-skills
13
+ const installSkills = require('./install-skills');
14
14
  installSkills.run(args.slice(1));
15
15
  process.exit(0);
16
16
  }
@@ -24,12 +24,13 @@ if (!projectName) {
24
24
 
25
25
  Usage:
26
26
  npx agentic-code <project-name> Create a new project
27
- npx agentic-code skills [options] Install skills to Codex CLI
27
+ npx agentic-code skills [options] Install skills to Codex/Cursor
28
28
 
29
29
  Examples:
30
30
  npx agentic-code my-project
31
31
  npx agentic-code skills --codex
32
- npx agentic-code skills --codex --project
32
+ npx agentic-code skills --cursor
33
+ npx agentic-code skills --cursor --project
33
34
 
34
35
  For skills options, run: npx agentic-code skills --help
35
36
  `);
@@ -16,8 +16,12 @@ const TARGETS = {
16
16
  name: 'agentic-code',
17
17
  description: 'OpenAI Codex CLI',
18
18
  postInstall: 'Restart Codex to load the skills.\nNote: Enable skills with --enable skills flag or in config.toml'
19
+ },
20
+ cursor: {
21
+ name: 'agentic-code',
22
+ description: 'Cursor Editor',
23
+ postInstall: 'Restart Cursor to load the skills.\nNote: Skills feature requires Nightly release channel.'
19
24
  }
20
- // Future targets can be added here
21
25
  };
22
26
 
23
27
  // Get target directory based on target and scope
@@ -30,6 +34,14 @@ function getTargetDir(targetKey, scope) {
30
34
  const codexHome = process.env.CODEX_HOME || path.join(os.homedir(), '.codex');
31
35
  return path.join(codexHome, 'skills');
32
36
  }
37
+ if (targetKey === 'cursor') {
38
+ if (scope === SCOPES.project) {
39
+ return path.join(process.cwd(), '.cursor', 'skills');
40
+ }
41
+ // User scope: respect CURSOR_CONFIG_DIR environment variable
42
+ const cursorHome = process.env.CURSOR_CONFIG_DIR || path.join(os.homedir(), '.cursor');
43
+ return path.join(cursorHome, 'skills');
44
+ }
33
45
  return null;
34
46
  }
35
47
 
@@ -91,18 +103,25 @@ Usage: npx agentic-code skills [options]
91
103
 
92
104
  Options:
93
105
  --codex Install skills to Codex CLI (default)
106
+ --cursor Install skills to Cursor Editor
94
107
  --project Install to project scope instead of user scope
95
108
  --path <path> Install to custom path
96
109
  --help Show this help message
97
110
 
98
111
  Scopes:
99
- user (default) Install to user directory (~/.codex/skills/ or $CODEX_HOME/skills/)
100
- project Install to current project (./.codex/skills/)
112
+ user (default) Install to user directory
113
+ project Install to current project
114
+
115
+ Target directories:
116
+ Codex: ~/.codex/skills/ (user) or ./.codex/skills/ (project)
117
+ Cursor: ~/.cursor/skills/ (user) or ./.cursor/skills/ (project)
101
118
 
102
119
  Examples:
103
120
  npx agentic-code skills # Install to ~/.codex/skills/ (user scope)
104
121
  npx agentic-code skills --codex # Same as above (explicit)
105
122
  npx agentic-code skills --codex --project # Install to ./.codex/skills/ (project scope)
123
+ npx agentic-code skills --cursor # Install to ~/.cursor/skills/ (user scope)
124
+ npx agentic-code skills --cursor --project # Install to ./.cursor/skills/ (project scope)
106
125
  npx agentic-code skills --path ./my-skills # Install to ./my-skills/agentic-code
107
126
  `);
108
127
  process.exit(0);
@@ -112,7 +131,9 @@ Examples:
112
131
 
113
132
  // Determine target (default: codex)
114
133
  let targetKey = customPath ? 'custom' : 'codex';
115
- if (args.includes('--codex')) {
134
+ if (args.includes('--cursor')) {
135
+ targetKey = customPath ? 'custom' : 'cursor';
136
+ } else if (args.includes('--codex')) {
116
137
  targetKey = customPath ? 'custom' : 'codex';
117
138
  }
118
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-code",
3
- "version": "0.6.6",
3
+ "version": "0.6.8",
4
4
  "description": "Task-oriented context engineering framework for LLM coding agents - AGENTS.md standard compliant",
5
5
  "files": [
6
6
  "bin/",