modscape 0.2.0 → 0.4.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/package.json
CHANGED
package/src/index.js
CHANGED
package/src/init.js
CHANGED
|
@@ -29,7 +29,7 @@ async function safeWriteFile(filePath, content) {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export async function initProject(options = {}) {
|
|
32
|
-
console.log('\n 🛠️
|
|
32
|
+
console.log('\n 🛠️ ModScape Project Initialization\n');
|
|
33
33
|
|
|
34
34
|
try {
|
|
35
35
|
const agents = [];
|
|
@@ -72,15 +72,15 @@ export async function initProject(options = {}) {
|
|
|
72
72
|
// 2. Create agent-specific files
|
|
73
73
|
if (agents.includes('gemini')) {
|
|
74
74
|
const skillTemplate = fs.readFileSync(path.join(__dirname, 'templates/gemini/SKILL.md'), 'utf8');
|
|
75
|
-
await safeWriteFile('.gemini/skills/
|
|
75
|
+
await safeWriteFile('.gemini/skills/modscape/SKILL.md', skillTemplate);
|
|
76
76
|
|
|
77
77
|
const commandTemplate = fs.readFileSync(path.join(__dirname, 'templates/gemini/command.toml'), 'utf8');
|
|
78
|
-
await safeWriteFile('.gemini/commands/
|
|
78
|
+
await safeWriteFile('.gemini/commands/modscape/modeling.toml', commandTemplate);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
if (agents.includes('codex')) {
|
|
82
82
|
const promptTemplate = fs.readFileSync(path.join(__dirname, 'templates/codex/prompt.md'), 'utf8');
|
|
83
|
-
await safeWriteFile('.codex/prompts/
|
|
83
|
+
await safeWriteFile('.codex/prompts/modscape-modeling.md', promptTemplate);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
if (agents.includes('claude')) {
|
|
@@ -88,7 +88,7 @@ export async function initProject(options = {}) {
|
|
|
88
88
|
await safeWriteFile('.clauderules', clauderules);
|
|
89
89
|
|
|
90
90
|
const commandTemplate = fs.readFileSync(path.join(__dirname, 'templates/claude/command.md'), 'utf8');
|
|
91
|
-
await safeWriteFile('.claude/commands/
|
|
91
|
+
await safeWriteFile('.claude/commands/modscape/modeling.md', commandTemplate);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
console.log('\n ✅ Initialization complete! Customize ".modscape/rules.md" to match your project standards.\n');
|