create-agentic-lemon 0.1.0 → 0.1.1
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 +127 -48
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,61 +1,140 @@
|
|
|
1
|
-
# create-agentic-lemon
|
|
2
|
-
|
|
3
|
-
An agent-agnostic workspace generator that
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
# 🍋 create-agentic-lemon
|
|
2
|
+
|
|
3
|
+
An agent-agnostic workspace generator that scaffolds a standardized, persistent **AI Operating System (OS)** folder structure within your codebase.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Why Agentic Lemon?
|
|
8
|
+
|
|
9
|
+
AI assistants (ChatGPT, Claude, Cursor, Windsurf, Copilot, Cline, Antigravity, etc.) are incredibly powerful but limited by transient chat histories and context windows. Every new chat session requires you to re-explain your system architecture, project constraints, database schemas, and coding preferences. Worse, when they make a mistake and you correct it, they forget it in the next session.
|
|
10
|
+
|
|
11
|
+
**Agentic Lemon** solves this by treating your AI assistant instructions, project context, playbooks, memory, and references as structured files in your project directory. This enables any file-reading AI coding tool to align with your project context, guidelines, workflows, and past learnings instantly.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Core Features
|
|
16
|
+
|
|
17
|
+
* 🛠️ **Agent-Agnostic Design:** Works seamlessly out-of-the-box with any modern IDE, chat interface, or agentic framework that can read workspace files.
|
|
18
|
+
* 🧠 **Persistent Memory & Learnings:** Dedicated structures to store architectural decisions, developer preferences, and recurring corrections, preventing the AI from repeating the same mistake twice.
|
|
19
|
+
* 📋 **Repeatable Workflows (Skills):** Standardized workflow playbooks (for software development, debugging, database queries, documentation, and reports) complete with checklists, examples, templates, and learnings.
|
|
20
|
+
* 📁 **Clean Output Sandbox:** Structured directories for AI-generated drafts, approved snippets, and debug logs to keep your main codebase clean.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Quick Start
|
|
25
|
+
|
|
26
|
+
Generate your workspace in seconds with a single command without installing the package:
|
|
27
|
+
|
|
11
28
|
```bash
|
|
12
29
|
npm create agentic-lemon@latest my-workspace
|
|
13
30
|
```
|
|
14
|
-
|
|
15
|
-
Or using `npx`:
|
|
16
|
-
|
|
31
|
+
|
|
32
|
+
Or using `npx`:
|
|
33
|
+
|
|
17
34
|
```bash
|
|
18
35
|
npx create-agentic-lemon@latest my-workspace
|
|
19
36
|
```
|
|
20
37
|
|
|
21
|
-
|
|
38
|
+
### Installation as a Global CLI
|
|
39
|
+
|
|
40
|
+
You can also install the tool globally:
|
|
22
41
|
|
|
23
42
|
```bash
|
|
24
43
|
npm i -g create-agentic-lemon
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Then run it using either command alias:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
25
49
|
agentic-lemon my-workspace
|
|
50
|
+
# OR
|
|
26
51
|
create-agentic-lemon my-workspace
|
|
27
52
|
```
|
|
28
|
-
|
|
29
|
-
### Options
|
|
30
|
-
|
|
31
|
-
* `--force`: Overwrite existing template files in the workspace (leaves other files intact).
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
53
|
+
|
|
54
|
+
### Options
|
|
55
|
+
|
|
56
|
+
* `--force`: Overwrite existing template files in the workspace (leaves other custom files intact).
|
|
57
|
+
* `-h, --help`: Show help and usage instructions.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Workspace Architecture
|
|
62
|
+
|
|
63
|
+
Here is the standardized folder structure generated by **Agentic Lemon**:
|
|
64
|
+
|
|
65
|
+
```mermaid
|
|
66
|
+
graph TD
|
|
67
|
+
Root[Workspace Root] --> AGENTS["AGENTS.md (Global Rules)"]
|
|
68
|
+
Root --> PROJ["PROJECT_CONTEXT.md (Project Specs)"]
|
|
69
|
+
|
|
70
|
+
Root --> Context["context/ (Stable Knowledge)"]
|
|
71
|
+
Context --> Arch["architecture.md"]
|
|
72
|
+
Context --> Coding["coding-style.md"]
|
|
73
|
+
Context --> Const["constraints.md"]
|
|
74
|
+
Context --> DB["database-schema.md"]
|
|
75
|
+
Context --> Gloss["glossary.md"]
|
|
76
|
+
Context --> Overview["project-overview.md"]
|
|
77
|
+
Context --> Sys["systems.md"]
|
|
78
|
+
|
|
79
|
+
Root --> Skills["skills/ (Workflows & Playbooks)"]
|
|
80
|
+
Skills --> SoftDev["software-development/"]
|
|
81
|
+
SoftDev --> Skill["skill.md"]
|
|
82
|
+
SoftDev --> Checklist["checklist.md"]
|
|
83
|
+
SoftDev --> Examples["examples.md"]
|
|
84
|
+
SoftDev --> Learnings["learnings.md"]
|
|
85
|
+
SoftDev --> Templates["templates.md"]
|
|
86
|
+
Skills --> DBWork["database-work/"]
|
|
87
|
+
Skills --> Debugging["debugging/"]
|
|
88
|
+
Skills --> Doc["documentation/"]
|
|
89
|
+
Skills --> Report["report-generation/"]
|
|
90
|
+
|
|
91
|
+
Root --> Memory["memory/ (Persistent Memory)"]
|
|
92
|
+
Memory --> Changelog["changelog.md"]
|
|
93
|
+
Memory --> Decisions["decisions.md"]
|
|
94
|
+
Memory --> Prefs["preferences.md"]
|
|
95
|
+
Memory --> Corrs["recurring-corrections.md"]
|
|
96
|
+
|
|
97
|
+
Root --> Outputs["outputs/ (Deliverables & Temp Files)"]
|
|
98
|
+
Outputs --> Drafts["drafts/"]
|
|
99
|
+
Outputs --> Appr["approved/"]
|
|
100
|
+
Outputs --> Snip["snippets/"]
|
|
101
|
+
Outputs --> Debug["debug-notes/"]
|
|
102
|
+
|
|
103
|
+
Root --> References["references/ (External Material)"]
|
|
104
|
+
References --> ExtDocs["external-docs.md"]
|
|
105
|
+
References --> Links["links.md"]
|
|
106
|
+
References --> Sources["sources.md"]
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Directory Structure Details
|
|
110
|
+
|
|
111
|
+
* **`AGENTS.md`**: Global operating rules, behavior guidelines, and constraints for the AI.
|
|
112
|
+
* **`PROJECT_CONTEXT.md`**: High-level metadata about project scope, users, tech stack, and styling preferences.
|
|
113
|
+
* **`context/`**: Slow-moving, stable knowledge files (e.g., database schema, systems architecture, coding styles).
|
|
114
|
+
* **`skills/`**: Repeatable workflows documented as reusable playbooks. Each skill includes custom checklists, templates, examples, and learnings.
|
|
115
|
+
* **`memory/`**: High-level cross-skill memory files including design decisions, project preferences, and recurring corrections.
|
|
116
|
+
* **`outputs/`**: Dedicated subdirectories for drafts, approved content, snippets, and debug logs.
|
|
117
|
+
* **`references/`**: Links to external documentation, specifications, and third-party APIs.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## How to use with an AI Assistant
|
|
122
|
+
|
|
123
|
+
### 1. Bootstrap
|
|
124
|
+
Generate the workspace structure at the root of your project:
|
|
125
|
+
```bash
|
|
126
|
+
npx create-agentic-lemon@latest .
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### 2. System Boot Prompt
|
|
130
|
+
Whenever you start a new conversation with your AI assistant, instruct it to load the operating system files:
|
|
131
|
+
> "Read AGENTS.md first, then PROJECT_CONTEXT.md, then any relevant files under context/ and skills/ before answering."
|
|
132
|
+
|
|
133
|
+
### 3. The Learning Loop
|
|
134
|
+
When you correct the AI's behavior, or establish a new architectural pattern, save that learning in the respective skill's `learnings.md` or the global `memory/recurring-corrections.md` file. The AI will read it at the start of future sessions, preventing repeated mistakes!
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## License
|
|
139
|
+
|
|
140
|
+
This project is licensed under the MIT License.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "create-agentic-lemon",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Create an agent-agnostic AI operating system folder structure.",
|
|
1
|
+
{
|
|
2
|
+
"name": "create-agentic-lemon",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Create an agent-agnostic AI operating system folder structure.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"agentic-lemon": "bin/agentic-lemon.js",
|