create-agentic-starter 0.1.11 → 0.1.13

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.
Files changed (3) hide show
  1. package/README.md +22 -75
  2. package/dist/index.js +5 -5
  3. package/package.json +6 -1
package/README.md CHANGED
@@ -1,28 +1,10 @@
1
1
  # create-agentic-starter
2
2
 
3
- `create-agentic-starter` scaffolds a reusable AI working area inside an existing project.
3
+ `create-agentic-starter` adds a reusable AI workflow to an existing project.
4
4
 
5
- It is meant for teams who repeatedly do the same early project work:
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
- - collect requirements
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, Zed, 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,71 +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 The Command Does
25
+ ## What It Does
44
26
 
45
27
  When you run it, it will:
46
28
 
47
29
  - recreate `.agentic/`
48
- - create `.docs/` for user-facing outputs
49
- - preserve an existing `AGENTS.md` and append a marked `create-agentic-starter` section when needed
50
- - never modify `.gitignore`
51
- - never modify `README.md`
52
- - print the next step for the team: start with `@.agentic/init.md`
53
-
54
- ## What Gets Created
55
-
56
- The scaffold sets up:
57
-
58
- - `.agentic/init.md`
59
- - `.agentic/context.md`
60
- - `.agentic/commands/`
61
- - `.agentic/workspace/project/`
62
- - `.agentic/workspace/memory/`
63
- - `.agentic/workspace/documents/`
64
- - `.agentic/workspace/scripts/`
65
- - `.docs/`
66
- - `AGENTS.md`
67
-
68
- This gives you a clear split:
69
-
70
- - `.agentic/workspace/project/` for raw project materials
71
- - `.agentic/workspace/memory/` for AI-maintained project understanding
72
- - `.agentic/workspace/documents/` for internal drafts and structured export input
73
- - `.agentic/workspace/scripts/` for starter export scripts
74
- - `.docs/` for final user-facing outputs
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`
75
33
 
76
- ## Export Scripts
34
+ ## Why This Is Useful
77
35
 
78
- The scaffold includes starter export scripts under `.agentic/workspace/scripts/` for:
36
+ This setup helps your team keep project context inside the repo itself.
79
37
 
80
- - `.docx` via `docx`
81
- - `.pptx` via `pptxgenjs`
82
- - `.xlsx` via `exceljs`
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
83
43
 
84
- These scripts are intentionally starter implementations. They are expected to be adapted by the AI agent when the user provides:
44
+ You can also:
85
45
 
86
- - a custom template
87
- - a preferred document style
88
- - a specific export structure
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
89
50
 
90
- ## Typical Workflow
51
+ ## Basic Flow
91
52
 
92
53
  1. Run `npx create-agentic-starter` or `bunx create-agentic-starter` in the target project.
93
54
  2. Open that project in your AI tool.
94
55
  3. Start a new session with `@.agentic/init.md`.
95
- 4. Let the agent understand the project, ask questions, and update memory files.
96
- 5. Continue with commands in `.agentic/commands/` such as:
97
- - `@.agentic/commands/project-requirements.md`
98
- - `@.agentic/commands/architecture.md`
99
- - `@.agentic/commands/create-brd.md`
100
- - `@.agentic/commands/create-frd.md`
101
- - `@.agentic/commands/create-estimate.md`
102
- - `@.agentic/commands/create-proposal.md`
103
- - `@.agentic/commands/create-plan.md`
104
- - `@.agentic/commands/create-tasks.md`
105
-
106
- ## Notes
107
-
108
- - The scaffold is designed to be lightweight and easy to drop into an existing repo.
109
- - It is prompt-driven first, with export scripts available when the workflow needs generated Office documents.
110
- - `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 $,rm as N,writeFile as P}from"fs/promises";import g from"path";import{readFile as k,writeFile as f}from"fs/promises";import A from"path";function u(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function F(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}
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=A.join(e,r);try{let n=await k(o,"utf8"),S=F(n,s,a,c);await f(o,S,"utf8")}catch(n){if(n.code!=="ENOENT")throw n;await f(o,`${s}
9
- `,"utf8")}}import{readFileSync as h}from"fs";import i from"path";import{fileURLToPath as y}from"url";function t(e){let r=process.argv[1]?i.dirname(i.resolve(process.argv[1])):i.dirname(y(import.meta.url));return h(i.join(r,e),"utf8")}var w="AGENTS.md",m="<!-- from create-agentic-starter:agents:start -->",p="<!-- from create-agentic-starter:agents:end -->",M=t("./templates/meta/agents.md").trimEnd(),T=`${m}
10
- ${M}
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 j={".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 x={".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=()=>({..._,...j,...x});async function D(e){await Promise.all(l.map(r=>N(g.join(e,r),{recursive:!0,force:!0})))}async function G(e){await Promise.all(d.map(r=>$(g.join(e,r),{recursive:!0})))}async function O(e){let r=R();await Promise.all(Object.entries(r).map(([s,a])=>P(g.join(e,s),a,"utf8")))}async function I(){let e=process.cwd();await D(e),await G(e),await O(e),await E(e,w,T,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("")}I().catch(e=>{let r=e instanceof Error?e.message:String(e);console.error(`create-agentic-starter: failed to scaffold project. ${r}`),process.exitCode=1});
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.11",
3
+ "version": "0.1.13",
4
4
  "description": "Scaffold a minimal AI-powered project delivery workflow inside the current folder.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10,6 +10,11 @@
10
10
  "files": [
11
11
  "dist"
12
12
  ],
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/MONESH-M-S/create-agentic-starter.git"
16
+ },
17
+ "homepage": "https://github.com/MONESH-M-S/create-agentic-starter#readme",
13
18
  "publishConfig": {
14
19
  "access": "public"
15
20
  },