engineering-intelligence 0.8.1 → 1.0.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/dist/adapters/index.d.ts.map +1 -1
- package/dist/adapters/index.js +3 -0
- package/dist/adapters/index.js.map +1 -1
- package/dist/cli/index.js +20 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +2 -10
- package/dist/installer/index.js.map +1 -1
- package/dist/manifest/index.d.ts +1 -1
- package/dist/manifest/index.js +1 -1
- package/dist/templates.d.ts +3 -2
- package/dist/templates.d.ts.map +1 -1
- package/dist/templates.js +24 -1
- package/dist/templates.js.map +1 -1
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/index.js +2 -11
- package/dist/validation/index.js.map +1 -1
- package/dist/visualizer/index.d.ts.map +1 -1
- package/dist/visualizer/index.js +100 -5
- package/dist/visualizer/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/canonical/agents/engineering-orchestrator.md +21 -2
- package/templates/canonical/skills/codebase-discovery-engine/SKILL.md +428 -0
- package/templates/canonical/skills/convention-detector/SKILL.md +199 -0
- package/templates/canonical/skills/debugging-engine/SKILL.md +189 -0
- package/templates/canonical/skills/engineering-intelligence-skill/SKILL.md +4 -1
- package/templates/canonical/skills/git-intelligence-engine/SKILL.md +146 -0
- package/templates/canonical/skills/graph-engine/SKILL.md +30 -5
- package/templates/canonical/skills/greenfield-architect/SKILL.md +287 -0
- package/templates/canonical/skills/impact-analysis-engine/SKILL.md +12 -4
- package/templates/canonical/skills/incremental-sync-engine/SKILL.md +17 -0
- package/templates/canonical/skills/ongoing-learning-engine/SKILL.md +175 -0
- package/templates/canonical/skills/performance-analysis-engine/SKILL.md +156 -0
- package/templates/canonical/skills/pr-intelligence-engine/SKILL.md +127 -0
- package/templates/canonical/skills/security-audit-engine/SKILL.md +165 -0
- package/templates/canonical/skills/staleness-detector/SKILL.md +185 -0
- package/templates/canonical/workflows/create-project.md +63 -0
- package/templates/canonical/workflows/discover-codebase.md +60 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create a new project from scratch with full AIDLC — from architectural interview through scaffolding, intelligence initialization, and convention detection.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Create Project
|
|
6
|
+
|
|
7
|
+
Chain `greenfield-architect` → scaffold → `initialize-intelligence-skill` → `convention-detector` to produce a fully instrumented project with engineering intelligence from day one.
|
|
8
|
+
|
|
9
|
+
## Input
|
|
10
|
+
|
|
11
|
+
A description of the project to create: purpose, domain, technology preferences, and constraints. If insufficient context is provided, the architectural interview in step 1 will gather it.
|
|
12
|
+
|
|
13
|
+
## Output
|
|
14
|
+
|
|
15
|
+
A complete, scaffolded project with:
|
|
16
|
+
|
|
17
|
+
| Category | Content |
|
|
18
|
+
|---|---|
|
|
19
|
+
| Project scaffold | Directory structure, configuration, dependencies, build system |
|
|
20
|
+
| Knowledge Base | `knowledge-base/` — initialized project intelligence |
|
|
21
|
+
| Memory | `.engineering-intelligence/memory/` — initial decisions and patterns |
|
|
22
|
+
| Context | `.engineering-intelligence/context/` — AI navigation maps |
|
|
23
|
+
| Graphs | `.engineering-intelligence/graph/` — initial architecture graphs |
|
|
24
|
+
| Conventions | `knowledge-base/06-conventions-and-standards.md` — detected and configured conventions |
|
|
25
|
+
| Change Record | `.changes/CHG-000-initialization.md` — project creation record |
|
|
26
|
+
|
|
27
|
+
## Execution Steps
|
|
28
|
+
|
|
29
|
+
1. **Architectural Interview** — Invoke `greenfield-architect` to conduct a structured interview:
|
|
30
|
+
- Gather requirements: domain, scale, team size, deployment targets
|
|
31
|
+
- Explore technology choices: language, framework, database, infrastructure
|
|
32
|
+
- Define architecture: monolith vs microservices, API style, data patterns
|
|
33
|
+
- Record decisions as ADRs in `knowledge-base/05-architecture-decisions.md`
|
|
34
|
+
- Produce a project blueprint before proceeding
|
|
35
|
+
|
|
36
|
+
2. **Scaffold Project** — Based on the architectural blueprint:
|
|
37
|
+
- Create directory structure following chosen conventions
|
|
38
|
+
- Initialize package manifests and dependency management
|
|
39
|
+
- Configure build system, linting, and formatting
|
|
40
|
+
- Set up test infrastructure
|
|
41
|
+
- Create initial CI/CD pipeline configuration
|
|
42
|
+
- Add README, LICENSE, and contributing guidelines
|
|
43
|
+
- Initialize git repository with initial commit
|
|
44
|
+
|
|
45
|
+
3. **Initialize Intelligence** — Invoke `initialize-intelligence-skill`:
|
|
46
|
+
- Generate knowledge-base documents from the scaffolded project
|
|
47
|
+
- Build initial architecture graphs
|
|
48
|
+
- Create AI context and navigation maps
|
|
49
|
+
- Write initialization change record (CHG-000)
|
|
50
|
+
|
|
51
|
+
4. **Detect Conventions** — Invoke `convention-detector`:
|
|
52
|
+
- Codify the conventions established during scaffolding
|
|
53
|
+
- Document naming patterns, file organization, and code style
|
|
54
|
+
- Record testing conventions and patterns
|
|
55
|
+
- Update `knowledge-base/06-conventions-and-standards.md`
|
|
56
|
+
|
|
57
|
+
## Rules
|
|
58
|
+
|
|
59
|
+
- Complete the architectural interview before scaffolding — do not assume technology choices
|
|
60
|
+
- Every architectural decision must be recorded as an ADR
|
|
61
|
+
- The scaffold must be functional — buildable and testable from the start
|
|
62
|
+
- Intelligence initialization must produce evidence-backed artifacts, not templates
|
|
63
|
+
- This workflow creates a new project and modifies the scaffolded project code
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Autonomously discover and understand an existing codebase through systematic analysis, interactive clarification, and finalized intelligence artifacts — without modifying product code.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Discover Codebase
|
|
6
|
+
|
|
7
|
+
Use `codebase-discovery-engine` to build a complete understanding of an existing project, then present findings, resolve ambiguities through clarification, and finalize the intelligence baseline.
|
|
8
|
+
|
|
9
|
+
## Input
|
|
10
|
+
|
|
11
|
+
An existing repository to analyze. If the repository path is ambiguous, ask for clarification.
|
|
12
|
+
|
|
13
|
+
## Output
|
|
14
|
+
|
|
15
|
+
Finalized codebase understanding captured in intelligence artifacts:
|
|
16
|
+
|
|
17
|
+
| Category | Path | Content |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| Knowledge Base | `knowledge-base/` | Evidence-backed project documentation |
|
|
20
|
+
| Graphs | `.engineering-intelligence/graph/` | Architecture graphs and maps |
|
|
21
|
+
| Context | `.engineering-intelligence/context/` | AI navigation maps |
|
|
22
|
+
| Discovery Report | `.engineering-intelligence/reports/DISCOVERY-*.md` | Findings summary with confidence levels |
|
|
23
|
+
|
|
24
|
+
## Execution Steps
|
|
25
|
+
|
|
26
|
+
1. **Discover** — Invoke `codebase-discovery-engine` to scan the repository:
|
|
27
|
+
- Technology stack, frameworks, and runtimes
|
|
28
|
+
- Project structure and module organization
|
|
29
|
+
- API surfaces, database schemas, and integrations
|
|
30
|
+
- Build systems, CI/CD pipelines, and deployment targets
|
|
31
|
+
- Test infrastructure and coverage
|
|
32
|
+
- Authentication and authorization patterns
|
|
33
|
+
|
|
34
|
+
2. **Present Findings** — Surface the discovery results to the user:
|
|
35
|
+
- Summarize what was found with confidence levels
|
|
36
|
+
- Highlight areas of uncertainty or ambiguity
|
|
37
|
+
- Call out architectural patterns and notable design decisions
|
|
38
|
+
- Identify gaps where information could not be determined from code alone
|
|
39
|
+
|
|
40
|
+
3. **Ask Clarifications** — For areas with low confidence or ambiguity:
|
|
41
|
+
- Ask targeted questions about unclear architectural decisions
|
|
42
|
+
- Confirm assumptions about deployment topology
|
|
43
|
+
- Verify business domain understanding
|
|
44
|
+
- Clarify team conventions not evident from code
|
|
45
|
+
|
|
46
|
+
4. **Finalize Understanding** — Incorporate clarifications and produce final artifacts:
|
|
47
|
+
- Update knowledge-base documents with confirmed information
|
|
48
|
+
- Mark remaining unknowns explicitly
|
|
49
|
+
- Generate architecture graphs via `graph-engine`
|
|
50
|
+
- Write discovery report with confidence assessment
|
|
51
|
+
|
|
52
|
+
## Rules
|
|
53
|
+
|
|
54
|
+
- Begin with automated analysis — ask questions only for genuine ambiguity
|
|
55
|
+
- Every claim must cite evidence from the repository
|
|
56
|
+
- Do not fabricate details — mark uncertainty clearly
|
|
57
|
+
- Present findings before asking clarifications (show work first)
|
|
58
|
+
- This workflow does not modify product code
|
|
59
|
+
|
|
60
|
+
This workflow does not modify product code. It writes only intelligence artifacts.
|