create-agentic-starter 0.1.12 → 0.1.14
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 +22 -84
- package/dist/index.js +5 -5
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -1,28 +1,10 @@
|
|
|
1
1
|
# create-agentic-starter
|
|
2
2
|
|
|
3
|
-
`create-agentic-starter`
|
|
3
|
+
`create-agentic-starter` adds a reusable AI workflow to an existing project.
|
|
4
4
|
|
|
5
|
-
It is
|
|
5
|
+
It is built for teams who want one standard setup for project understanding, planning, documentation, execution tracking, and future day-to-day project updates.
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- understand screenshots, notes, and references
|
|
9
|
-
- define architecture
|
|
10
|
-
- prepare BRD, FRD, estimate, proposal, plan, and task outputs
|
|
11
|
-
|
|
12
|
-
Instead of rebuilding prompts, folders, and working conventions for every new project, this package gives the team a standard `.agentic/` setup that works across AI tools such as Codex, Claude, Cursor, Antigravity, and similar agentic workflows.
|
|
13
|
-
|
|
14
|
-
## What This Project Is Trying To Achieve
|
|
15
|
-
|
|
16
|
-
The package creates a lightweight but structured workflow inside the target project so an AI agent can:
|
|
17
|
-
|
|
18
|
-
- understand the project from the files already present
|
|
19
|
-
- gather missing context from the user
|
|
20
|
-
- keep project memory in one place
|
|
21
|
-
- generate internal drafts
|
|
22
|
-
- create user-facing deliverables under `.docs/`
|
|
23
|
-
- use starter export scripts for `.docx`, `.xlsx`, and `.pptx` outputs
|
|
24
|
-
|
|
25
|
-
The goal is not to generate code for the product itself on day one. The goal is to standardize the project kick-off and delivery-document workflow so any team member can start from the same foundation.
|
|
7
|
+
Instead of starting from scratch in every new repo, this creates a ready-to-use `.agentic/` workspace that can be used with tools like Codex, Claude, Cursor, Zed, Antigravity, and similar AI workflows.
|
|
26
8
|
|
|
27
9
|
## How To Run It
|
|
28
10
|
|
|
@@ -40,80 +22,36 @@ bunx create-agentic-starter
|
|
|
40
22
|
|
|
41
23
|
The command is non-interactive. It does not ask setup questions.
|
|
42
24
|
|
|
43
|
-
## What
|
|
25
|
+
## What It Does
|
|
44
26
|
|
|
45
27
|
When you run it, it will:
|
|
46
28
|
|
|
47
29
|
- recreate `.agentic/`
|
|
48
|
-
- create
|
|
49
|
-
- preserve an existing `AGENTS.md` and append
|
|
50
|
-
- print the next step
|
|
51
|
-
|
|
52
|
-
## What Gets Created
|
|
53
|
-
|
|
54
|
-
The scaffold sets up:
|
|
55
|
-
|
|
56
|
-
- `.agentic/init.md`
|
|
57
|
-
- `.agentic/context.md`
|
|
58
|
-
- `.agentic/commands/`
|
|
59
|
-
- `.agentic/workspace/project/`
|
|
60
|
-
- `.agentic/workspace/memory/`
|
|
61
|
-
- `.agentic/workspace/documents/`
|
|
62
|
-
- `.agentic/workspace/scripts/`
|
|
63
|
-
- `.docs/`
|
|
64
|
-
- `AGENTS.md`
|
|
65
|
-
|
|
66
|
-
This gives you a clear split:
|
|
67
|
-
|
|
68
|
-
- `.agentic/workspace/project/` for raw project materials
|
|
69
|
-
- `.agentic/workspace/memory/` for AI-maintained project understanding
|
|
70
|
-
- `.agentic/workspace/documents/` for internal drafts and structured export input
|
|
71
|
-
- `.agentic/workspace/scripts/` for starter export scripts
|
|
72
|
-
- `.docs/` for final user-facing outputs
|
|
73
|
-
|
|
74
|
-
## Customization
|
|
75
|
-
|
|
76
|
-
The generated scaffold is fully yours after it is created.
|
|
77
|
-
|
|
78
|
-
- you can add any new prompt files you want under `.agentic/commands/`
|
|
79
|
-
- you can edit the existing prompts to match your workflow
|
|
80
|
-
- you can remove commands, files, or folders that you do not want
|
|
81
|
-
- you can version control everything with git inside your own repository
|
|
82
|
-
|
|
83
|
-
This setup stays inside your codebase. Your project memory, prompts, documents, and scripts live in your repo, so the working context is owned by your team and does not need to live in an external shared system.
|
|
30
|
+
- create a reusable workspace for AI prompts, memory, scripts, and outputs
|
|
31
|
+
- preserve an existing `AGENTS.md` and append its guide section
|
|
32
|
+
- print the next step: start with `@.agentic/init.md`
|
|
84
33
|
|
|
85
|
-
##
|
|
34
|
+
## Why This Is Useful
|
|
86
35
|
|
|
87
|
-
|
|
36
|
+
This setup helps your team keep project context inside the repo itself.
|
|
88
37
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
38
|
+
- prompts can live with the project
|
|
39
|
+
- project memory can be updated over time
|
|
40
|
+
- workflows can evolve as the project grows
|
|
41
|
+
- everything can be version controlled with git
|
|
42
|
+
- the context stays in your codebase instead of being spread across chats and tools
|
|
92
43
|
|
|
93
|
-
|
|
44
|
+
You can also:
|
|
94
45
|
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
46
|
+
- add your own commands under `.agentic/commands/`
|
|
47
|
+
- edit the generated prompts
|
|
48
|
+
- remove anything you do not want
|
|
49
|
+
- shape the workflow around your team
|
|
98
50
|
|
|
99
|
-
##
|
|
51
|
+
## Basic Flow
|
|
100
52
|
|
|
101
53
|
1. Run `npx create-agentic-starter` or `bunx create-agentic-starter` in the target project.
|
|
102
54
|
2. Open that project in your AI tool.
|
|
103
55
|
3. Start a new session with `@.agentic/init.md`.
|
|
104
|
-
4. Let the agent understand the project
|
|
105
|
-
5.
|
|
106
|
-
- `@.agentic/commands/project-requirements.md`
|
|
107
|
-
- `@.agentic/commands/architecture.md`
|
|
108
|
-
- `@.agentic/commands/create-brd.md`
|
|
109
|
-
- `@.agentic/commands/create-frd.md`
|
|
110
|
-
- `@.agentic/commands/create-estimate.md`
|
|
111
|
-
- `@.agentic/commands/create-proposal.md`
|
|
112
|
-
- `@.agentic/commands/create-plan.md`
|
|
113
|
-
- `@.agentic/commands/create-tasks.md`
|
|
114
|
-
|
|
115
|
-
## Notes
|
|
116
|
-
|
|
117
|
-
- The scaffold is designed to be lightweight and easy to drop into an existing repo.
|
|
118
|
-
- It is prompt-driven first, with export scripts available when the workflow needs generated Office documents.
|
|
119
|
-
- `AGENTS.md` is used as the human-readable guide inside the target project.
|
|
56
|
+
4. Let the agent understand the project and continue with the commands you need.
|
|
57
|
+
5. Keep extending the workflow as your team needs more project operations over time.
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{mkdir as
|
|
2
|
+
import{mkdir as P,rm as D,writeFile as G}from"fs/promises";import g from"path";import{readFile as A,writeFile as f}from"fs/promises";import F from"path";function u(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function h(e,r,s,a){let c=new RegExp(`${u(s)}[\\s\\S]*?${u(a)}\\n?`,"m");if(c.test(e))return e.replace(c,`${r}
|
|
3
3
|
`);let o=e.endsWith(`
|
|
4
4
|
`)?`
|
|
5
5
|
`:`
|
|
6
6
|
|
|
7
7
|
`;return`${e}${o}${r}
|
|
8
|
-
`}async function E(e,r,s,a,c){let o=
|
|
9
|
-
`,"utf8")}}import{readFileSync as
|
|
10
|
-
${
|
|
8
|
+
`}async function E(e,r,s,a,c){let o=F.join(e,r);try{let i=await A(o,"utf8"),k=h(i,s,a,c);await f(o,k,"utf8")}catch(i){if(i.code!=="ENOENT")throw i;await f(o,`${s}
|
|
9
|
+
`,"utf8")}}import{existsSync as y,readFileSync as $,realpathSync as w}from"fs";import n from"path";import{fileURLToPath as M}from"url";function t(e){let r=[n.dirname(w(M(import.meta.url))),process.argv[1]?n.dirname(w(process.argv[1])):null,process.argv[1]?n.dirname(n.resolve(process.argv[1])):null].filter(s=>!!s);for(let s of r){let a=n.join(s,e);if(y(a))return $(a,"utf8")}throw new Error(`Template not found: ${e}. Checked: ${r.join(", ")}`)}var T="AGENTS.md",m="<!-- from create-agentic-starter:agents:start -->",p="<!-- from create-agentic-starter:agents:end -->",N=t("./templates/meta/agents.md").trimEnd(),j=`${m}
|
|
10
|
+
${N}
|
|
11
11
|
${p}
|
|
12
|
-
`;var
|
|
12
|
+
`;var x={".agentic/commands/project-requirements.md":t("./templates/commands/project-requirements.md"),".agentic/commands/architecture.md":t("./templates/commands/architecture.md"),".agentic/commands/create-brd.md":t("./templates/commands/create-brd.md"),".agentic/commands/create-frd.md":t("./templates/commands/create-frd.md"),".agentic/commands/create-estimate.md":t("./templates/commands/create-estimate.md"),".agentic/commands/create-proposal.md":t("./templates/commands/create-proposal.md"),".agentic/commands/create-plan.md":t("./templates/commands/create-plan.md"),".agentic/commands/create-tasks.md":t("./templates/commands/create-tasks.md")};var _={".agentic/init.md":t("./templates/core/init.md"),".agentic/context.md":t("./templates/core/context.md")};var l=[".agentic"],d=[".agentic",".agentic/commands",".agentic/workspace",".agentic/workspace/project",".agentic/workspace/memory",".agentic/workspace/documents",".agentic/workspace/scripts",".docs",".docs/brd",".docs/frd",".docs/estimate",".docs/proposal",".docs/plan",".docs/tasks"];var S={".agentic/workspace/scripts/README.md":t("./templates/scripts/README.md"),".agentic/workspace/scripts/_shared.js":t("./templates/scripts/_shared.js"),".agentic/workspace/scripts/generate_brd.js":t("./templates/scripts/generate_brd.js"),".agentic/workspace/scripts/generate_frd.js":t("./templates/scripts/generate_frd.js"),".agentic/workspace/scripts/generate_estimate.js":t("./templates/scripts/generate_estimate.js"),".agentic/workspace/scripts/generate_proposal.js":t("./templates/scripts/generate_proposal.js"),".agentic/workspace/scripts/generate_plan.js":t("./templates/scripts/generate_plan.js"),".agentic/workspace/scripts/generate_tasks.js":t("./templates/scripts/generate_tasks.js")};var R=()=>({..._,...x,...S});async function O(e){await Promise.all(l.map(r=>D(g.join(e,r),{recursive:!0,force:!0})))}async function v(e){await Promise.all(d.map(r=>P(g.join(e,r),{recursive:!0})))}async function I(e){let r=R();await Promise.all(Object.entries(r).map(([s,a])=>G(g.join(e,s),a,"utf8")))}async function b(){let e=process.cwd();await O(e),await v(e),await I(e),await E(e,T,j,m,p),console.log(""),console.log("create-agentic-starter: scaffold created successfully."),console.log(`Project folder: ${e}`),console.log(""),console.log("Next steps:"),console.log("1. Open your AI tool in this folder."),console.log("2. Start a new chat with @.agentic/init.md"),console.log("")}b().catch(e=>{let r=e instanceof Error?e.message:String(e);console.error(`create-agentic-starter: failed to scaffold project. ${r}`),process.exitCode=1});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-agentic-starter",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Scaffold a minimal AI-powered project delivery workflow inside the current folder.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -8,8 +8,14 @@
|
|
|
8
8
|
"create-agentic-starter": "./dist/index.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
|
-
"dist"
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md"
|
|
12
13
|
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/MONESH-M-S/create-agentic-starter.git"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/MONESH-M-S/create-agentic-starter#readme",
|
|
13
19
|
"publishConfig": {
|
|
14
20
|
"access": "public"
|
|
15
21
|
},
|