haraps 1.0.7 → 1.0.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.
- package/SKILL.md +5 -4
- package/bin/index.js +5 -4
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -36,10 +36,11 @@ Verify that the following files were successfully created in the root directory:
|
|
|
36
36
|
|
|
37
37
|
It is your strict responsibility as the agent to carefully initialize the standard project skeleton if this is the first run (i.e. if the project is empty). You must:
|
|
38
38
|
1. Generate the Next.js frontend and Rust Cloudflare Worker backend in their respective directories (`frontend/` and `backend/`).
|
|
39
|
-
2.
|
|
40
|
-
3. **
|
|
41
|
-
4.
|
|
39
|
+
2. **Contextualize Files**: Open the scaffolded `dev.ps1`, `dev.sh`, `deploy.ps1`, `deploy.sh`, and the UI Sniper Telegram configuration (including the webhook route), and **modify them** to precisely match the project name and description.
|
|
40
|
+
3. **Telegram Feedback Customization**: Ensure the Telegram message for UI feedback exactly matches the project context (updating names, tags, or message format as needed).
|
|
41
|
+
4. **Rust Instructions**: Ensure dev and deploy scripts are surgically modified to correctly support the required Rust compilation/cargo instructions for the backend. **Never** overwrite the entire scripts with generic versions; preserve their robust functionality.
|
|
42
|
+
5. Initialize the Git repository (`git init`) and create the initial commit.
|
|
42
43
|
|
|
43
44
|
### Step 4: Inform the User
|
|
44
45
|
|
|
45
|
-
Notify the user that the project has been
|
|
46
|
+
Notify the user that the project has been contextualized, customized, and scaffolded. Remind them to run `./dev.ps1` or `./dev.sh`.
|
package/bin/index.js
CHANGED
|
@@ -1260,12 +1260,13 @@ writeFile('AGENTS.md', `
|
|
|
1260
1260
|
When the user says "start project", you MUST immediately:
|
|
1261
1261
|
1. Ask the user for the name of the project and a brief description of what they want to build.
|
|
1262
1262
|
2. Wait for their response.
|
|
1263
|
-
3. Once they respond, it is YOUR strict responsibility to initialize the standard project skeleton:
|
|
1263
|
+
3. Once they respond, it is YOUR strict responsibility to initialize the standard project skeleton and apply contextual modifications:
|
|
1264
1264
|
a. Generate the Next.js frontend and Rust Cloudflare Worker backend in their respective directories (\`frontend/\` and \`backend/\`).
|
|
1265
|
-
b.
|
|
1266
|
-
c. **
|
|
1265
|
+
b. **Contextualize Files**: Open the scaffolded \`dev.ps1\`, \`dev.sh\`, \`deploy.ps1\`, \`deploy.sh\`, and the UI Sniper Telegram configuration (including the webhook route), and **modify them** to precisely match the project name and description.
|
|
1266
|
+
c. **Telegram Feedback Customization**: Ensure the Telegram message for UI feedback exactly matches the project context (updating names, tags, or message format as needed).
|
|
1267
|
+
d. **Rust Instructions**: Ensure dev and deploy scripts are surgically modified to correctly support the required Rust compilation/cargo instructions for the backend. **Never** overwrite the entire scripts with generic versions; preserve their robust functionality.
|
|
1267
1268
|
4. Initialize a new git repository in the root directory (\`git init\`) and create an initial commit.
|
|
1268
|
-
5. Notify the user that the project has been
|
|
1269
|
+
5. Notify the user that the project has been contextualized, customized, and scaffolded. Remind them to run \`./dev.ps1\` or \`./dev.sh\`.
|
|
1269
1270
|
`);
|
|
1270
1271
|
|
|
1271
1272
|
// 4. Workflows
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "haraps",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "NPM package to scaffold standard development environment, deployment scripts, AGENTS.md guidelines, and core workflows for a Next.js frontend + Rust Cloudflare Worker backend.",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"bin": {
|