@tongsh6/ai-engineering-framework-init 0.1.0 → 0.2.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 +4 -0
- package/bin/aief-init.mjs +5 -0
- package/package.json +1 -1
- package/templates/minimal/AGENTS.md +11 -0
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@ Optional bootstrap CLI for AI Engineering Framework (AIEF).
|
|
|
4
4
|
|
|
5
5
|
Run without copying any AIEF files into your repo:
|
|
6
6
|
|
|
7
|
+
npx --yes @tongsh6/aief-init@latest retrofit --level L0+
|
|
8
|
+
|
|
9
|
+
Canonical package name (full):
|
|
10
|
+
|
|
7
11
|
npx --yes @tongsh6/ai-engineering-framework-init@latest new
|
|
8
12
|
|
|
9
13
|
npx --yes @tongsh6/ai-engineering-framework-init@latest retrofit --level L0
|
package/bin/aief-init.mjs
CHANGED
|
@@ -314,6 +314,11 @@ function initRetrofit({ level, force, dryRun } = {}) {
|
|
|
314
314
|
const snapshotPath = repoPath('context/tech/REPO_SNAPSHOT.md')
|
|
315
315
|
const snapshotContent = formatRepoSnapshot(process.cwd())
|
|
316
316
|
writeFile(snapshotPath, snapshotContent, { force, dryRun })
|
|
317
|
+
|
|
318
|
+
if (level === 'L1') {
|
|
319
|
+
// Create docs/standards/ directory structure for L1+ projects
|
|
320
|
+
ensureDir(repoPath('docs/standards/patterns'), { dryRun })
|
|
321
|
+
}
|
|
317
322
|
}
|
|
318
323
|
|
|
319
324
|
function main() {
|
package/package.json
CHANGED
|
@@ -17,3 +17,14 @@ Quick Commands:
|
|
|
17
17
|
|
|
18
18
|
Context Entry:
|
|
19
19
|
- context/INDEX.md
|
|
20
|
+
|
|
21
|
+
Knowledge Base:
|
|
22
|
+
|
|
23
|
+
| Directory | Purpose | When to Load |
|
|
24
|
+
|-----------|---------|-------------|
|
|
25
|
+
| context/business/ | Business knowledge | Understanding requirements, domain models |
|
|
26
|
+
| context/tech/ | Technical docs | Architecture, API, conventions |
|
|
27
|
+
| context/experience/ | Experience library | Avoid repeating mistakes |
|
|
28
|
+
| workflow/ | Workflows | Complex task phase guides (optional) |
|
|
29
|
+
| docs/standards/ | Standards | Skill/Command/Agent specs (L1, optional) |
|
|
30
|
+
| docs/standards/patterns/ | Patterns | Phase routing, experience mgmt, context loading (L2, optional) |
|