safeword 0.15.2 → 0.15.4
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/{check-Q7XV5CS5.js → check-RGWLYICL.js} +3 -3
- package/dist/{chunk-DSV46UIU.js → chunk-ETUKZM5C.js} +25 -8
- package/dist/{chunk-DSV46UIU.js.map → chunk-ETUKZM5C.js.map} +1 -1
- package/dist/{chunk-HMVL27EQ.js → chunk-IOBHSIOZ.js} +2 -2
- package/dist/cli.js +5 -5
- package/dist/{diff-FLDKWKBE.js → diff-SNLBLQL4.js} +2 -2
- package/dist/{reset-SPPBHOEJ.js → reset-S2MIQQBA.js} +2 -2
- package/dist/{setup-ZK7VR25M.js → setup-TWZ3H3LR.js} +3 -3
- package/dist/{upgrade-LPPRCQ3V.js → upgrade-UJGAYG34.js} +3 -3
- package/package.json +15 -3
- package/templates/SAFEWORD.md +24 -24
- package/templates/commands/audit.md +21 -14
- package/templates/commands/bdd.md +30 -0
- package/templates/commands/refactor.md +28 -0
- package/templates/commands/tdd.md +29 -0
- package/templates/cursor/rules/safeword-bdd-orchestrating.mdc +92 -0
- package/templates/cursor/rules/safeword-brainstorming.mdc +10 -10
- package/templates/cursor/rules/{safeword-enforcing-tdd.mdc → safeword-tdd-enforcing.mdc} +17 -17
- package/templates/cursor/rules/safeword-writing-plans.mdc +3 -3
- package/templates/doc-templates/task-spec-template.md +12 -12
- package/templates/guides/llm-guide.md +24 -0
- package/templates/guides/planning-guide.md +9 -9
- package/templates/skills/safeword-bdd-orchestrating/SKILL.md +93 -0
- package/templates/skills/safeword-brainstorming/SKILL.md +13 -13
- package/templates/skills/safeword-tdd-enforcing/SKILL.md +380 -0
- package/templates/skills/safeword-writing-plans/SKILL.md +3 -3
- package/templates/skills/safeword-enforcing-tdd/SKILL.md +0 -267
- /package/dist/{check-Q7XV5CS5.js.map → check-RGWLYICL.js.map} +0 -0
- /package/dist/{chunk-HMVL27EQ.js.map → chunk-IOBHSIOZ.js.map} +0 -0
- /package/dist/{diff-FLDKWKBE.js.map → diff-SNLBLQL4.js.map} +0 -0
- /package/dist/{reset-SPPBHOEJ.js.map → reset-S2MIQQBA.js.map} +0 -0
- /package/dist/{setup-ZK7VR25M.js.map → setup-TWZ3H3LR.js.map} +0 -0
- /package/dist/{upgrade-LPPRCQ3V.js.map → upgrade-UJGAYG34.js.map} +0 -0
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-FJYRWU2V.js";
|
|
4
4
|
import {
|
|
5
5
|
getMissingPacks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IOBHSIOZ.js";
|
|
7
7
|
import {
|
|
8
8
|
SAFEWORD_SCHEMA,
|
|
9
9
|
createProjectContext,
|
|
10
10
|
reconcile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ETUKZM5C.js";
|
|
12
12
|
import {
|
|
13
13
|
VERSION
|
|
14
14
|
} from "./chunk-ORQHKDT2.js";
|
|
@@ -186,4 +186,4 @@ async function check(options) {
|
|
|
186
186
|
export {
|
|
187
187
|
check
|
|
188
188
|
};
|
|
189
|
-
//# sourceMappingURL=check-
|
|
189
|
+
//# sourceMappingURL=check-RGWLYICL.js.map
|
|
@@ -1502,7 +1502,10 @@ var SAFEWORD_SCHEMA = {
|
|
|
1502
1502
|
".safeword/hooks/cursor/stop.sh",
|
|
1503
1503
|
// Shell libraries no longer needed with Bun
|
|
1504
1504
|
".safeword/lib/common.sh",
|
|
1505
|
-
".safeword/lib/jq-fallback.sh"
|
|
1505
|
+
".safeword/lib/jq-fallback.sh",
|
|
1506
|
+
// Skill renamed from enforcing-tdd to tdd-enforcing (v0.16.0)
|
|
1507
|
+
".claude/skills/safeword-enforcing-tdd/SKILL.md",
|
|
1508
|
+
".cursor/rules/safeword-enforcing-tdd.mdc"
|
|
1506
1509
|
],
|
|
1507
1510
|
// Packages to uninstall on upgrade (now bundled in eslint-plugin-safeword)
|
|
1508
1511
|
deprecatedPackages: [
|
|
@@ -1535,8 +1538,10 @@ var SAFEWORD_SCHEMA = {
|
|
|
1535
1538
|
deprecatedDirs: [
|
|
1536
1539
|
".husky",
|
|
1537
1540
|
// Pre-commit hooks no longer managed by safeword
|
|
1538
|
-
".safeword/lib"
|
|
1541
|
+
".safeword/lib",
|
|
1539
1542
|
// Shell libraries no longer needed with Bun (v0.13.0)
|
|
1543
|
+
".claude/skills/safeword-enforcing-tdd"
|
|
1544
|
+
// Renamed to safeword-tdd-enforcing (v0.16.0)
|
|
1540
1545
|
],
|
|
1541
1546
|
// Files owned by safeword (overwritten on upgrade if content changed)
|
|
1542
1547
|
ownedFiles: {
|
|
@@ -1610,8 +1615,8 @@ var SAFEWORD_SCHEMA = {
|
|
|
1610
1615
|
".claude/skills/safeword-debugging/SKILL.md": {
|
|
1611
1616
|
template: "skills/safeword-debugging/SKILL.md"
|
|
1612
1617
|
},
|
|
1613
|
-
".claude/skills/safeword-enforcing
|
|
1614
|
-
template: "skills/safeword-enforcing
|
|
1618
|
+
".claude/skills/safeword-tdd-enforcing/SKILL.md": {
|
|
1619
|
+
template: "skills/safeword-tdd-enforcing/SKILL.md"
|
|
1615
1620
|
},
|
|
1616
1621
|
".claude/skills/safeword-quality-reviewing/SKILL.md": {
|
|
1617
1622
|
template: "skills/safeword-quality-reviewing/SKILL.md"
|
|
@@ -1622,11 +1627,17 @@ var SAFEWORD_SCHEMA = {
|
|
|
1622
1627
|
".claude/skills/safeword-writing-plans/SKILL.md": {
|
|
1623
1628
|
template: "skills/safeword-writing-plans/SKILL.md"
|
|
1624
1629
|
},
|
|
1630
|
+
".claude/skills/safeword-bdd-orchestrating/SKILL.md": {
|
|
1631
|
+
template: "skills/safeword-bdd-orchestrating/SKILL.md"
|
|
1632
|
+
},
|
|
1633
|
+
".claude/commands/bdd.md": { template: "commands/bdd.md" },
|
|
1634
|
+
".claude/commands/tdd.md": { template: "commands/tdd.md" },
|
|
1625
1635
|
".claude/commands/drift.md": { template: "commands/drift.md" },
|
|
1626
1636
|
".claude/commands/audit.md": { template: "commands/audit.md" },
|
|
1627
1637
|
".claude/commands/cleanup-zombies.md": { template: "commands/cleanup-zombies.md" },
|
|
1628
1638
|
".claude/commands/lint.md": { template: "commands/lint.md" },
|
|
1629
1639
|
".claude/commands/quality-review.md": { template: "commands/quality-review.md" },
|
|
1640
|
+
".claude/commands/refactor.md": { template: "commands/refactor.md" },
|
|
1630
1641
|
// Cursor rules (7 files)
|
|
1631
1642
|
".cursor/rules/safeword-core.mdc": { template: "cursor/rules/safeword-core.mdc" },
|
|
1632
1643
|
".cursor/rules/safeword-brainstorming.mdc": {
|
|
@@ -1635,8 +1646,8 @@ var SAFEWORD_SCHEMA = {
|
|
|
1635
1646
|
".cursor/rules/safeword-debugging.mdc": {
|
|
1636
1647
|
template: "cursor/rules/safeword-debugging.mdc"
|
|
1637
1648
|
},
|
|
1638
|
-
".cursor/rules/safeword-enforcing
|
|
1639
|
-
template: "cursor/rules/safeword-enforcing
|
|
1649
|
+
".cursor/rules/safeword-tdd-enforcing.mdc": {
|
|
1650
|
+
template: "cursor/rules/safeword-tdd-enforcing.mdc"
|
|
1640
1651
|
},
|
|
1641
1652
|
".cursor/rules/safeword-quality-reviewing.mdc": {
|
|
1642
1653
|
template: "cursor/rules/safeword-quality-reviewing.mdc"
|
|
@@ -1647,12 +1658,18 @@ var SAFEWORD_SCHEMA = {
|
|
|
1647
1658
|
".cursor/rules/safeword-writing-plans.mdc": {
|
|
1648
1659
|
template: "cursor/rules/safeword-writing-plans.mdc"
|
|
1649
1660
|
},
|
|
1650
|
-
|
|
1661
|
+
".cursor/rules/safeword-bdd-orchestrating.mdc": {
|
|
1662
|
+
template: "cursor/rules/safeword-bdd-orchestrating.mdc"
|
|
1663
|
+
},
|
|
1664
|
+
// Cursor commands (8 files - same as Claude)
|
|
1665
|
+
".cursor/commands/bdd.md": { template: "commands/bdd.md" },
|
|
1666
|
+
".cursor/commands/tdd.md": { template: "commands/tdd.md" },
|
|
1651
1667
|
".cursor/commands/drift.md": { template: "commands/drift.md" },
|
|
1652
1668
|
".cursor/commands/audit.md": { template: "commands/audit.md" },
|
|
1653
1669
|
".cursor/commands/cleanup-zombies.md": { template: "commands/cleanup-zombies.md" },
|
|
1654
1670
|
".cursor/commands/lint.md": { template: "commands/lint.md" },
|
|
1655
1671
|
".cursor/commands/quality-review.md": { template: "commands/quality-review.md" },
|
|
1672
|
+
".cursor/commands/refactor.md": { template: "commands/refactor.md" },
|
|
1656
1673
|
// Cursor hooks adapters (2 files) - TypeScript with Bun runtime
|
|
1657
1674
|
".safeword/hooks/cursor/after-file-edit.ts": { template: "hooks/cursor/after-file-edit.ts" },
|
|
1658
1675
|
".safeword/hooks/cursor/stop.ts": { template: "hooks/cursor/stop.ts" }
|
|
@@ -1943,4 +1960,4 @@ export {
|
|
|
1943
1960
|
detectLanguages,
|
|
1944
1961
|
createProjectContext
|
|
1945
1962
|
};
|
|
1946
|
-
//# sourceMappingURL=chunk-
|
|
1963
|
+
//# sourceMappingURL=chunk-ETUKZM5C.js.map
|