@drafthq/draft 2.8.3 → 3.1.5
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +5 -5
- package/bin/README.md +10 -0
- package/core/methodology.md +17 -18
- package/core/shared/condensation.md +9 -9
- package/core/shared/draft-context-loading.md +7 -9
- package/core/shared/graph-query.md +38 -31
- package/core/shared/graph-usage-report.md +1 -1
- package/core/shared/pattern-learning.md +2 -2
- package/core/shared/red-flags.md +3 -3
- package/core/templates/ai-context.md +2 -1
- package/core/templates/ai-profile.md +1 -0
- package/core/templates/architecture.md +4 -3
- package/core/templates/dependency-graph.md +2 -2
- package/core/templates/discovery.md +1 -0
- package/core/templates/guardrails.md +1 -0
- package/core/templates/hld.md +1 -0
- package/core/templates/lld.md +1 -0
- package/core/templates/plan.md +1 -0
- package/core/templates/product.md +1 -0
- package/core/templates/rca.md +1 -0
- package/core/templates/root-architecture.md +3 -3
- package/core/templates/root-product.md +2 -2
- package/core/templates/root-tech-stack.md +2 -2
- package/core/templates/service-index.md +3 -3
- package/core/templates/spec.md +1 -0
- package/core/templates/tech-matrix.md +2 -2
- package/core/templates/tech-stack.md +1 -0
- package/core/templates/workflow.md +1 -0
- package/integrations/agents/AGENTS.md +276 -1037
- package/integrations/copilot/.github/copilot-instructions.md +276 -1037
- package/package.json +1 -1
- package/scripts/lib.sh +2 -1
- package/scripts/tools/adr-index.sh +2 -2
- package/scripts/tools/check-scope-conflicts.sh +2 -2
- package/scripts/tools/check-skill-line-caps.sh +2 -2
- package/scripts/tools/cycle-detect.sh +5 -1
- package/scripts/tools/diff-templates-vs-tracks.sh +2 -2
- package/scripts/tools/fix-whitespace.sh +15 -9
- package/scripts/tools/graph-arch.sh +72 -0
- package/scripts/tools/graph-impact.sh +1 -0
- package/scripts/tools/graph-init.sh +187 -0
- package/scripts/tools/graph-snapshot.sh +52 -46
- package/scripts/tools/hotspot-rank.sh +2 -0
- package/scripts/tools/manage-symlinks.sh +1 -1
- package/scripts/tools/parse-reports.sh +1 -1
- package/scripts/tools/skill-caps.conf +0 -1
- package/scripts/tools/verify-doc-anchors.sh +2 -2
- package/scripts/tools/verify-graph-binary.sh +1 -1
- package/skills/GRAPH.md +9 -12
- package/skills/bughunt/SKILL.md +14 -1
- package/skills/debug/SKILL.md +3 -3
- package/skills/decompose/SKILL.md +5 -5
- package/skills/deep-review/SKILL.md +2 -2
- package/skills/deploy-checklist/SKILL.md +2 -2
- package/skills/discover/SKILL.md +2 -4
- package/skills/draft/SKILL.md +2 -2
- package/skills/draft/intent-mapping.md +3 -2
- package/skills/graph/SKILL.md +3 -3
- package/skills/implement/SKILL.md +1 -1
- package/skills/init/SKILL.md +102 -43
- package/skills/init/references/architecture-spec.md +17 -16
- package/skills/learn/SKILL.md +5 -5
- package/skills/quick-review/SKILL.md +3 -3
- package/skills/review/SKILL.md +7 -7
- package/skills/tech-debt/SKILL.md +2 -2
- package/skills/index/SKILL.md +0 -848
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
project: "{PROJECT_NAME}"
|
|
3
3
|
module: "root"
|
|
4
|
-
generated_by: "draft:
|
|
4
|
+
generated_by: "draft:init"
|
|
5
5
|
generated_at: "{ISO_TIMESTAMP}"
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ generated_at: "{ISO_TIMESTAMP}"
|
|
|
16
16
|
|
|
17
17
|
> Synthesized from [X] service contexts.
|
|
18
18
|
> This is a **system-of-systems** view. For service internals, see individual service contexts.
|
|
19
|
-
> Re-running `/draft:
|
|
19
|
+
> Re-running `/draft:init` will update auto-generated sections but preserve manual edits.
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -123,5 +123,5 @@ sequenceDiagram
|
|
|
123
123
|
## Notes
|
|
124
124
|
|
|
125
125
|
- For detailed service architecture, navigate to individual service contexts via the Details column
|
|
126
|
-
- This file is regenerable via `/draft:
|
|
126
|
+
- This file is regenerable via `/draft:init`
|
|
127
127
|
- Manual edits between `<!-- MANUAL START -->` and `<!-- MANUAL END -->` are preserved
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
project: "{PROJECT_NAME}"
|
|
3
3
|
module: "root"
|
|
4
|
-
generated_by: "draft:
|
|
4
|
+
generated_by: "draft:init"
|
|
5
5
|
generated_at: "{ISO_TIMESTAMP}"
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ generated_at: "{ISO_TIMESTAMP}"
|
|
|
16
16
|
|
|
17
17
|
> Synthesized from [X] service contexts.
|
|
18
18
|
> Edit this file to refine the overall product vision.
|
|
19
|
-
> Re-running `/draft:
|
|
19
|
+
> Re-running `/draft:init` will update auto-generated sections but preserve manual edits.
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
project: "{PROJECT_NAME}"
|
|
3
3
|
module: "root"
|
|
4
|
-
generated_by: "draft:
|
|
4
|
+
generated_by: "draft:init"
|
|
5
5
|
generated_at: "{ISO_TIMESTAMP}"
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ generated_at: "{ISO_TIMESTAMP}"
|
|
|
16
16
|
|
|
17
17
|
> Synthesized from [X] service contexts.
|
|
18
18
|
> This defines **org-wide standards**. Service-specific additions are in their local tech-stack.md.
|
|
19
|
-
> Re-running `/draft:
|
|
19
|
+
> Re-running `/draft:init` will update auto-generated sections but preserve manual edits.
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
project: "{PROJECT_NAME}"
|
|
3
3
|
module: "root"
|
|
4
|
-
generated_by: "draft:
|
|
4
|
+
generated_by: "draft:init"
|
|
5
5
|
generated_at: "{ISO_TIMESTAMP}"
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -15,7 +15,7 @@ generated_at: "{ISO_TIMESTAMP}"
|
|
|
15
15
|
| **Synced To** | `{FULL_SHA}` |
|
|
16
16
|
|
|
17
17
|
> Auto-generated. Do not edit directly.
|
|
18
|
-
> Re-run `/draft:
|
|
18
|
+
> Re-run `/draft:init` to update.
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -42,7 +42,7 @@ The following services have not been initialized with `/draft:init`:
|
|
|
42
42
|
|
|
43
43
|
- `[path/to/service]/`
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
Initialize each one by running `/draft:init` inside its directory — it links the module's graph up to the root spine:
|
|
46
46
|
```bash
|
|
47
47
|
cd [path/to/service] && /draft:init
|
|
48
48
|
```
|
package/core/templates/spec.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
project: "{PROJECT_NAME}"
|
|
3
3
|
module: "root"
|
|
4
|
-
generated_by: "draft:
|
|
4
|
+
generated_by: "draft:init"
|
|
5
5
|
generated_at: "{ISO_TIMESTAMP}"
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -15,7 +15,7 @@ generated_at: "{ISO_TIMESTAMP}"
|
|
|
15
15
|
| **Synced To** | `{FULL_SHA}` |
|
|
16
16
|
|
|
17
17
|
> Auto-generated. Do not edit directly.
|
|
18
|
-
> Re-run `/draft:
|
|
18
|
+
> Re-run `/draft:init` to update.
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|