ai-workflow-init 1.0.0 → 1.1.0
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 -50
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -1,58 +1,30 @@
|
|
|
1
|
-
# AI
|
|
1
|
+
# AI Workflow Installer (npx)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Initialize standardized AI workflow docs and command templates into ANY repository with ONE command.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Quick Start
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
> Requires: [Node.js](https://nodejs.org/) (>= 14)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## 1. Using degit (**Recommended, cross-platform**)
|
|
12
|
-
|
|
13
|
-
> **Requires:** [Node.js](https://nodejs.org/) (includes npx & degit on Windows, Ubuntu, Mac)
|
|
14
|
-
|
|
15
|
-
**Step 1:** Install degit *(optional—can use npx degit directly)*
|
|
16
|
-
```bash
|
|
17
|
-
npm install -g degit
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
**Step 2:** Run (in your target repo root):
|
|
21
|
-
```bash
|
|
22
|
-
npx degit your-username/ai-devkit-workflow-template/docs/ai docs/ai
|
|
23
|
-
npx degit your-username/ai-devkit-workflow-template/.cursor/commands .cursor/commands
|
|
24
|
-
```
|
|
25
|
-
- This will copy all workflow docs and AI command templates to the current project.
|
|
26
|
-
- Compatible with Windows Powershell, CMD, GitBash, WSL, Ubuntu/macOS terminals.
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## 2. Using npx script (when available)
|
|
31
|
-
|
|
32
|
-
> **Requires:** Node.js (>= v14). No other global install required.
|
|
33
|
-
|
|
34
|
-
When a published init package is available, just run:
|
|
9
|
+
Run in the root of your target project:
|
|
35
10
|
```bash
|
|
36
|
-
npx
|
|
11
|
+
npx ai-workflow-init
|
|
37
12
|
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
## 3. Manual method (fallback)
|
|
13
|
+
This will automatically fetch and place:
|
|
14
|
+
- `docs/ai` (planning, implementation, testing, project standards)
|
|
15
|
+
- `.cursor/commands` (AI agent commands)
|
|
16
|
+
- `AGENTS.md`
|
|
43
17
|
|
|
44
|
-
Clone this repo and copy files:
|
|
45
|
-
```bash
|
|
46
|
-
git clone https://github.com/your-username/ai-devkit-workflow-template.git ai-template-tmp
|
|
47
|
-
cp -r ai-template-tmp/docs/ai ./docs/
|
|
48
|
-
cp -r ai-template-tmp/.cursor/commands ./.cursor/
|
|
49
|
-
rm -rf ai-template-tmp
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
---
|
|
53
18
|
## Notes
|
|
54
|
-
-
|
|
55
|
-
- If
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
19
|
+
- Works on Windows (PowerShell/CMD/Git Bash), macOS, and Linux.
|
|
20
|
+
- If the destination folders already exist, the installer will overwrite files as needed.
|
|
21
|
+
- After installation, commit the new files to your repository so your team can use them.
|
|
22
|
+
|
|
23
|
+
## What gets installed
|
|
24
|
+
- Documentation templates and guides under `docs/ai/`
|
|
25
|
+
- AI agent commands under `.cursor/commands/`
|
|
26
|
+
- `AGENTS.md` with rules and workflow overview
|
|
27
|
+
|
|
28
|
+
## Troubleshooting
|
|
29
|
+
- Ensure Node.js is installed and accessible in your PATH.
|
|
30
|
+
- If your network blocks npm registry calls, try again on a different network or with a VPN.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-workflow-init",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Initialize AI workflow docs & commands into any repo with one command",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ai-workflow-init": "./cli.js"
|
|
@@ -12,11 +12,17 @@
|
|
|
12
12
|
"url": "git+https://github.com/phananhtuan09/ai-agent-workflow.git"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/phananhtuan09/ai-agent-workflow#readme",
|
|
15
|
-
"keywords": [
|
|
15
|
+
"keywords": [
|
|
16
|
+
"ai",
|
|
17
|
+
"workflow",
|
|
18
|
+
"docs",
|
|
19
|
+
"degit",
|
|
20
|
+
"init"
|
|
21
|
+
],
|
|
16
22
|
"dependencies": {
|
|
17
23
|
"degit": "^2.8.4"
|
|
18
24
|
},
|
|
19
25
|
"engines": {
|
|
20
26
|
"node": ">=14"
|
|
21
27
|
}
|
|
22
|
-
}
|
|
28
|
+
}
|