@compilr-dev/agents-coding 0.2.0 → 0.2.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.
@@ -315,6 +315,16 @@ export const buildSkill = defineSkill({
315
315
  tags: ['implementation', 'coding'],
316
316
  prompt: `You are in BUILD MODE. Implement the specified backlog item.
317
317
 
318
+ ## CRITICAL: PROJECT DIRECTORY
319
+
320
+ **All files MUST be created/modified in: {{projectPath}}**
321
+
322
+ Use ABSOLUTE paths for ALL file operations. Example:
323
+ - write_file({ path: "{{projectPath}}/src/feature.ts", ... })
324
+ - edit({ path: "{{projectPath}}/src/index.ts", ... })
325
+
326
+ NEVER use relative paths. NEVER use process.cwd().
327
+
318
328
  ## ITEM TO IMPLEMENT
319
329
  - **ID:** {{item_id}}
320
330
  - **Title:** {{item_title}}
@@ -395,6 +405,16 @@ export const scaffoldSkill = defineSkill({
395
405
  tags: ['setup', 'foundation', 'scaffolding'],
396
406
  prompt: `You are creating the PROJECT SCAFFOLD (foundation).
397
407
 
408
+ ## CRITICAL: PROJECT DIRECTORY
409
+
410
+ **All files MUST be created in: {{projectPath}}**
411
+
412
+ Use ABSOLUTE paths for ALL file operations. Example:
413
+ - write_file({ path: "{{projectPath}}/package.json", ... })
414
+ - write_file({ path: "{{projectPath}}/src/index.ts", ... })
415
+
416
+ NEVER use relative paths. NEVER use process.cwd().
417
+
398
418
  ## PURPOSE
399
419
 
400
420
  Create the base project structure that features will be built on top of.
@@ -402,10 +422,9 @@ This is the skeleton that makes feature implementation possible.
402
422
 
403
423
  ## CONTEXT TO READ
404
424
 
405
- First, read these files to understand what to build:
406
- - **CLAUDE.md**: Tech stack, coding standards, project type
407
- - **PRD.md** (if exists): Project vision and requirements
408
- - **Existing files**: What already exists (if anything)
425
+ Use project_document_get to read project documents from the database:
426
+ - PRD document for project vision and requirements
427
+ - Architecture documents if they exist
409
428
 
410
429
  ## BEFORE STARTING
411
430
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/agents-coding",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Coding-specific tools for @compilr-dev/agents - Git, project detection, smart runners, and code search",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",