@softspark/ai-toolkit 4.19.1 → 4.21.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/CHANGELOG.md +121 -0
- package/LICENSE +201 -21
- package/NOTICE +55 -0
- package/README.md +35 -21
- package/app/.claude-plugin/plugin.json +2 -2
- package/app/hooks/_hook-io.sh +4 -0
- package/app/hooks/_locate-toolkit.sh +4 -0
- package/app/hooks/_profile-check.sh +4 -0
- package/app/hooks/_search-capability.sh +4 -0
- package/app/hooks/_session-paths.sh +4 -0
- package/app/hooks/ai-toolkit-statusline.sh +4 -0
- package/app/hooks/commit-quality.sh +4 -0
- package/app/hooks/config-desync-guard.sh +4 -0
- package/app/hooks/governance-capture.sh +4 -0
- package/app/hooks/guard-config.sh +4 -0
- package/app/hooks/guard-destructive.sh +4 -0
- package/app/hooks/guard-path.sh +4 -0
- package/app/hooks/instructions-audit.sh +4 -0
- package/app/hooks/loop-guard.sh +4 -0
- package/app/hooks/mcp-health.sh +4 -0
- package/app/hooks/notify-waiting.sh +4 -0
- package/app/hooks/post-tool-use.sh +4 -0
- package/app/hooks/pre-compact-save.sh +4 -0
- package/app/hooks/pre-compact.sh +4 -0
- package/app/hooks/quality-check.sh +4 -0
- package/app/hooks/quality-gate.sh +4 -0
- package/app/hooks/revert-guard.sh +4 -0
- package/app/hooks/save-session.sh +4 -0
- package/app/hooks/search-tracker.sh +4 -0
- package/app/hooks/session-end.sh +4 -0
- package/app/hooks/session-start.sh +4 -0
- package/app/hooks/stop-search-check.sh +4 -0
- package/app/hooks/subagent-start.sh +4 -0
- package/app/hooks/subagent-stop.sh +4 -0
- package/app/hooks/test-cohesion.sh +4 -0
- package/app/hooks/track-usage.sh +4 -0
- package/app/hooks/user-prompt-submit.sh +4 -0
- package/app/plugins/README.md +15 -15
- package/app/plugins/enterprise-pack/hooks/output-style.sh +4 -0
- package/app/plugins/enterprise-pack/hooks/status-line.sh +4 -0
- package/app/plugins/memory-pack/hooks/observation-capture.sh +4 -0
- package/app/plugins/memory-pack/hooks/session-summary.sh +4 -0
- package/app/plugins/memory-pack/scripts/init_db.py +4 -0
- package/app/plugins/memory-pack/scripts/strip_private.py +4 -0
- package/app/skills/_lib/__init__.py +4 -0
- package/app/skills/_lib/detect_utils.py +4 -0
- package/app/skills/a11y-validate/scripts/a11y-scanner.py +4 -0
- package/app/skills/analyze/scripts/complexity.py +4 -0
- package/app/skills/brand-voice/scripts/measure.py +4 -0
- package/app/skills/build/scripts/detect-build.py +4 -0
- package/app/skills/ci/scripts/ci-detect.py +4 -0
- package/app/skills/commit/scripts/pre-commit-check.py +4 -0
- package/app/skills/cve-scan/scripts/cve_scan.py +4 -0
- package/app/skills/debug/scripts/error-parser.py +4 -0
- package/app/skills/deploy/scripts/pre_deploy_check.py +4 -0
- package/app/skills/docs/scripts/doc-inventory.py +4 -0
- package/app/skills/documentation-standards/SKILL.md +25 -5
- package/app/skills/explain/scripts/dependency-graph.py +4 -0
- package/app/skills/explore/scripts/visualize.py +4 -0
- package/app/skills/fix/scripts/error-classifier.py +4 -0
- package/app/skills/health/scripts/health_check.py +4 -0
- package/app/skills/hipaa-validate/scripts/hipaa_scan.py +4 -0
- package/app/skills/lint/scripts/detect-linters.py +4 -0
- package/app/skills/migrate/scripts/migration-status.py +4 -0
- package/app/skills/plugin-creator/SKILL.md +18 -8
- package/app/skills/pr/scripts/pr-summary.py +4 -0
- package/app/skills/refactor/scripts/refactor-scan.py +4 -0
- package/app/skills/review/scripts/diff-analyzer.py +4 -0
- package/app/skills/rollback/scripts/rollback_info.py +4 -0
- package/app/skills/seo-validate/scripts/seo-scanner.py +4 -0
- package/app/skills/skill-creator/templates/reasoning-engine/search.py +4 -0
- package/app/skills/test/scripts/detect-runner.py +4 -0
- package/app/skills/write-a-prd/scripts/poll.js +4 -0
- package/benchmarks/ecosystem-doctor-snapshot.json +3 -3
- package/benchmarks/run.py +4 -0
- package/bin/ai-toolkit.js +4 -0
- package/kb/{planning/drop-cascade-hooks-after-sunset.md → history/completed/drop-cascade-hooks-after-sunset-20260710.md} +24 -0
- package/kb/{reference/language-packs.md → history/completed/language-packs-removed-20260727.md} +32 -7
- package/kb/{planning/mcp-context-trim-v4-prd.md → history/completed/mcp-context-trim-v4-prd-obsoleted-20260727.md} +43 -9
- package/kb/history/completed/no-op-plugin-packs-removed-20260727.md +127 -0
- package/kb/history/completed/tool-output-token-reduction-closed-20260727.md +190 -0
- package/kb/procedures/release-preparation-sop.md +83 -5
- package/kb/reference/comparison.md +1 -1
- package/kb/reference/enterprise-config-guide.md +1 -1
- package/kb/reference/licensing.md +148 -0
- package/kb/reference/plugin-pack-conventions.md +24 -16
- package/llms-full.txt +1182 -530
- package/llms.txt +6 -3
- package/manifest.json +1 -1
- package/package.json +3 -2
- package/scripts/_common.py +4 -0
- package/scripts/add_rule.py +4 -0
- package/scripts/audit_skills.py +4 -0
- package/scripts/benchmark_config.py +4 -0
- package/scripts/benchmark_ecosystem.py +4 -0
- package/scripts/check_deps.py +4 -0
- package/scripts/claude_app.py +4 -0
- package/scripts/codex_skill_adapter.py +4 -0
- package/scripts/compile_slm.py +4 -0
- package/scripts/config_cli.py +4 -0
- package/scripts/config_lock.py +4 -0
- package/scripts/config_merger.py +4 -0
- package/scripts/config_resolver.py +4 -0
- package/scripts/config_scaffold.py +5 -1
- package/scripts/config_validator.py +4 -0
- package/scripts/create_skill.py +4 -0
- package/scripts/dir_rules_shared.py +4 -0
- package/scripts/doctor.py +4 -0
- package/scripts/ecosystem_doctor.py +4 -0
- package/scripts/eject.py +4 -0
- package/scripts/emission.py +4 -0
- package/scripts/evaluate_skills.py +4 -0
- package/scripts/frontmatter.py +4 -0
- package/scripts/generate_agents_md.py +4 -0
- package/scripts/generate_aider_conf.py +4 -0
- package/scripts/generate_antigravity.py +4 -0
- package/scripts/generate_augment.py +4 -0
- package/scripts/generate_augment_agents.py +4 -0
- package/scripts/generate_augment_commands.py +4 -0
- package/scripts/generate_augment_hooks.py +4 -0
- package/scripts/generate_augment_rules.py +4 -0
- package/scripts/generate_augment_skills.py +4 -0
- package/scripts/generate_cline.py +4 -0
- package/scripts/generate_cline_rules.py +4 -0
- package/scripts/generate_cline_skills.py +4 -0
- package/scripts/generate_codex.py +4 -0
- package/scripts/generate_codex_agents.py +4 -0
- package/scripts/generate_codex_hooks.py +4 -0
- package/scripts/generate_codex_skills.py +4 -0
- package/scripts/generate_conventions.py +4 -0
- package/scripts/generate_copilot.py +4 -0
- package/scripts/generate_copilot_hooks.py +4 -0
- package/scripts/generate_cursor_agents.py +4 -0
- package/scripts/generate_cursor_hooks.py +4 -0
- package/scripts/generate_cursor_mdc.py +4 -0
- package/scripts/generate_cursor_rules.py +4 -0
- package/scripts/generate_cursor_skills.py +4 -0
- package/scripts/generate_devin_hooks.py +4 -0
- package/scripts/generate_gemini.py +4 -0
- package/scripts/generate_gemini_commands.py +4 -0
- package/scripts/generate_gemini_hooks.py +4 -0
- package/scripts/generate_gemini_skills.py +4 -0
- package/scripts/generate_language_rules_skills.py +4 -0
- package/scripts/generate_llms_txt.py +4 -0
- package/scripts/generate_opencode.py +4 -0
- package/scripts/generate_opencode_agents.py +4 -0
- package/scripts/generate_opencode_commands.py +4 -0
- package/scripts/generate_opencode_json.py +4 -0
- package/scripts/generate_opencode_plugin.py +4 -0
- package/scripts/generate_roo_modes.py +4 -0
- package/scripts/generate_roo_rules.py +4 -0
- package/scripts/generate_windsurf.py +4 -0
- package/scripts/generate_windsurf_rules.py +4 -0
- package/scripts/generate_windsurf_skills.py +4 -0
- package/scripts/generator_base.py +4 -0
- package/scripts/harvest_ecosystem.py +4 -0
- package/scripts/hook_sources.py +4 -0
- package/scripts/inject_hook_cli.py +4 -0
- package/scripts/inject_mcp_cli.py +4 -0
- package/scripts/inject_rule_cli.py +4 -0
- package/scripts/inject_section_cli.py +4 -0
- package/scripts/injection.py +4 -0
- package/scripts/install.py +4 -0
- package/scripts/install_git_hooks.py +4 -0
- package/scripts/install_steps/__init__.py +4 -0
- package/scripts/install_steps/ai_tools.py +4 -0
- package/scripts/install_steps/detect_language.py +4 -0
- package/scripts/install_steps/hooks.py +4 -0
- package/scripts/install_steps/install_state.py +4 -0
- package/scripts/install_steps/markers.py +4 -0
- package/scripts/install_steps/project_registry.py +4 -0
- package/scripts/install_steps/symlinks.py +4 -0
- package/scripts/instruction_core.py +4 -0
- package/scripts/mcp_editors.py +4 -0
- package/scripts/mcp_manager.py +4 -0
- package/scripts/mcp_sources.py +4 -0
- package/scripts/merge-hooks.py +4 -0
- package/scripts/migrate.py +4 -0
- package/scripts/output_filter_retirement.py +4 -0
- package/scripts/pack_codebase.py +4 -0
- package/scripts/paths.py +4 -0
- package/scripts/plugin.py +4 -0
- package/scripts/plugin_schema.py +4 -0
- package/scripts/projects_cli.py +4 -0
- package/scripts/propagate_global.py +4 -0
- package/scripts/remove_rule.py +4 -0
- package/scripts/rule_sources.py +4 -0
- package/scripts/secure_fs.py +4 -0
- package/scripts/session_state.py +4 -0
- package/scripts/session_token_stats.py +4 -0
- package/scripts/skill_pointer.py +4 -0
- package/scripts/stats.py +4 -0
- package/scripts/sync.py +4 -0
- package/scripts/test_cohesion.py +4 -0
- package/scripts/uninstall.py +4 -0
- package/scripts/update_projects.py +4 -0
- package/scripts/url_fetch.py +4 -0
- package/scripts/validate.py +37 -1
- package/scripts/version_check.py +4 -0
- package/app/plugins/csharp-pack/README.md +0 -11
- package/app/plugins/csharp-pack/plugin.json +0 -18
- package/app/plugins/frontend-pack/README.md +0 -14
- package/app/plugins/frontend-pack/plugin.json +0 -22
- package/app/plugins/java-pack/README.md +0 -11
- package/app/plugins/java-pack/plugin.json +0 -18
- package/app/plugins/kotlin-pack/README.md +0 -11
- package/app/plugins/kotlin-pack/plugin.json +0 -18
- package/app/plugins/research-pack/README.md +0 -14
- package/app/plugins/research-pack/plugin.json +0 -22
- package/app/plugins/ruby-pack/README.md +0 -11
- package/app/plugins/ruby-pack/plugin.json +0 -18
- package/app/plugins/rust-pack/README.md +0 -11
- package/app/plugins/rust-pack/plugin.json +0 -18
- package/app/plugins/security-pack/README.md +0 -15
- package/app/plugins/security-pack/plugin.json +0 -23
- package/app/plugins/swift-pack/README.md +0 -11
- package/app/plugins/swift-pack/plugin.json +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,127 @@ Versioning follows [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## v4.21.0 — one KB taxonomy, in one place (2026-07-28)
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **The `documentation-standards` skill contradicted itself.** Its frontmatter
|
|
15
|
+
said "5-category taxonomy", its table listed those five, and three paragraphs
|
|
16
|
+
below a "Valid categories" line named six — adding `planning`. An author
|
|
17
|
+
reading the table and a validator reading the code disagreed about what was
|
|
18
|
+
legal, and only the validator got a vote.
|
|
19
|
+
- **`decisions` and `runbooks` were not valid categories**, while the
|
|
20
|
+
`kb-migration` SOP had been instructing people to create exactly those
|
|
21
|
+
directories for months. A correctly-filed ADR failed `scripts/validate.py`.
|
|
22
|
+
Both are now in the taxonomy, which is eight: `reference`, `howto`,
|
|
23
|
+
`procedures`, `troubleshooting`, `best-practices`, `decisions`, `runbooks`,
|
|
24
|
+
`planning`.
|
|
25
|
+
- **`procedures` and `runbooks` no longer describe each other.** The table gave
|
|
26
|
+
"SOPs, runbooks, operational processes" for `procedures`, which left no way to
|
|
27
|
+
choose between them. `procedures` is a process a person follows; `runbooks`
|
|
28
|
+
are run against a live system, usually under pressure.
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- **`section:` is documented as what it is: a legacy alias for `category:`.**
|
|
33
|
+
Older documents and the `kb-migration` SOP write `section:`; both names are
|
|
34
|
+
read in the wild. A document may carry both, and `validate.py` now rejects it
|
|
35
|
+
when they disagree — a document filed as `category: reference` and
|
|
36
|
+
`section: howto` is indexed twice and found once.
|
|
37
|
+
- **`validate.py` checks that a document's category names its directory.** The
|
|
38
|
+
rule is scoped to directories that *are* category names, deliberately:
|
|
39
|
+
`kb/history/completed/` is a lifecycle location rather than a type, and a
|
|
40
|
+
finished plan filed there is still a `planning` document. Fifteen of this
|
|
41
|
+
project's own documents are in exactly that position.
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- `VALID_KB_CATEGORIES` in `scripts/validate.py` and the taxonomy table in
|
|
46
|
+
`app/skills/documentation-standards/SKILL.md` are one list in two places, and
|
|
47
|
+
each now says so. They were previously two lists that had drifted.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## v4.20.0 — Apache-2.0, nine plugin packs removed (2026-07-27)
|
|
52
|
+
|
|
53
|
+
### Changed — licence: MIT to Apache-2.0
|
|
54
|
+
|
|
55
|
+
The project is now licensed under the Apache License 2.0. It stays permissive:
|
|
56
|
+
fork it, modify it, ship it commercially. What changes is what a redistributor
|
|
57
|
+
owes back.
|
|
58
|
+
|
|
59
|
+
- **`NOTICE` is the point.** MIT already required keeping the copyright notice,
|
|
60
|
+
so attribution is not new. What Apache-2.0 adds is §4(d): a redistributor must
|
|
61
|
+
carry the contents of the `NOTICE` file — project name, copyright, source URL —
|
|
62
|
+
into their distribution. That is the strongest attribution mechanism available
|
|
63
|
+
in a permissive licence, and it is why this change was made. `NOTICE` is now in
|
|
64
|
+
`package.json` `files`, so it ships with the npm package.
|
|
65
|
+
- **Modified files must say so** (§4b). MIT had no equivalent.
|
|
66
|
+
- **Express patent grant with retaliation** (§3) and **no trademark rights**
|
|
67
|
+
(§6). Neither existed under MIT.
|
|
68
|
+
- **Nothing is revoked.** Releases up to and including v4.20.0 were published
|
|
69
|
+
under MIT and remain available under MIT. This applies going forward.
|
|
70
|
+
- **Prior contributions are handled correctly.** Contributions received while the
|
|
71
|
+
project was MIT-licensed remain their authors' copyright. MIT permits
|
|
72
|
+
sublicensing, so they are redistributed under Apache-2.0 with the original MIT
|
|
73
|
+
notice preserved verbatim in `NOTICE`, which is what MIT requires.
|
|
74
|
+
|
|
75
|
+
`LICENSE` now holds the verbatim Apache-2.0 text, cross-verified against two
|
|
76
|
+
independent published copies before being written.
|
|
77
|
+
|
|
78
|
+
- **SPDX headers on 253 source files.** Short three-line form, placed after the
|
|
79
|
+
shebang. Markdown is deliberately excluded: skill and agent files carry parsed
|
|
80
|
+
frontmatter, and their descriptions cost 5,051 and 2,750 tokens of every
|
|
81
|
+
session's context, so a header there would be billed on every conversation for
|
|
82
|
+
a notice Apache only recommends.
|
|
83
|
+
- **`tests/test_licensing.bats`, 7 assertions, enforced in CI**: headers present
|
|
84
|
+
and naming Apache-2.0, no header in markdown, `LICENSE` complete, `NOTICE`
|
|
85
|
+
carrying attribution and section 4(d), both files in `package.json` `files`,
|
|
86
|
+
and every manifest agreeing. The release SOP gains Phase 5c running the same
|
|
87
|
+
gate before the tag. Convention and reasoning: `kb/reference/licensing.md`.
|
|
88
|
+
|
|
89
|
+
### Removed
|
|
90
|
+
|
|
91
|
+
- **Nine plugin packs that installed nothing**: `csharp-pack`, `java-pack`,
|
|
92
|
+
`kotlin-pack`, `ruby-pack`, `rust-pack`, `swift-pack`, `frontend-pack`,
|
|
93
|
+
`research-pack`, `security-pack`. Every one declared only skills and agents
|
|
94
|
+
that already ship in the core install, so `plugin install` reported
|
|
95
|
+
`(0 file items)` and put no file on disk. Measured on both runtimes and all
|
|
96
|
+
three profiles. Eight of the nine owned nothing but a `README.md`.
|
|
97
|
+
|
|
98
|
+
**Nothing is lost.** `rust-patterns`, `java-patterns`, `security-patterns`,
|
|
99
|
+
`research-mastery` and every other asset those packs named are core skills and
|
|
100
|
+
agents; they are still installed and still trigger exactly as before. A pack
|
|
101
|
+
never held them.
|
|
102
|
+
|
|
103
|
+
`frontend-pack` was the sole partial exception: on codex it copied core's
|
|
104
|
+
`post-tool-use.sh` in under a pack-prefixed name. That is a generic hook with a
|
|
105
|
+
domain label, not frontend functionality. If `post-tool-use` should run on
|
|
106
|
+
codex it belongs in the core codex hook set, as its own change.
|
|
107
|
+
|
|
108
|
+
Full measurement: `kb/history/completed/no-op-plugin-packs-removed-20260727.md`.
|
|
109
|
+
- `kb/reference/language-packs.md`, the reference for six of the removed packs,
|
|
110
|
+
moved to `kb/history/completed/language-packs-removed-20260727.md`.
|
|
111
|
+
|
|
112
|
+
### Changed
|
|
113
|
+
|
|
114
|
+
- **`plugin-creator` now requires a pack to do something.** The authoring rule
|
|
115
|
+
said "reference existing toolkit assets before duplicating", which against a
|
|
116
|
+
core install that ships everything produces a no-op every time — nine packs
|
|
117
|
+
followed it exactly. It now requires that a pack install files the core does
|
|
118
|
+
not, and the validation checklist carries a non-zero-file-count check on every
|
|
119
|
+
runtime the pack claims.
|
|
120
|
+
- `kb/reference/plugin-pack-conventions.md` documents the two surviving packs by
|
|
121
|
+
what they **own**, not by what they list.
|
|
122
|
+
|
|
123
|
+
### Kept
|
|
124
|
+
|
|
125
|
+
`memory-pack` (2 hooks, 2 scripts, its own `mem-search` skill) and
|
|
126
|
+
`enterprise-pack` (`status-line.sh`, `output-style.sh`) — the two packs that
|
|
127
|
+
ship files of their own.
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
10
131
|
## v4.19.1 — re-release from corrected history (2026-07-27)
|
|
11
132
|
|
|
12
133
|
No functional change. The package contents are identical to v4.19.0.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,201 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
ai-toolkit
|
|
2
|
+
Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
3
|
+
|
|
4
|
+
This product includes software developed by SoftSpark.
|
|
5
|
+
Source: https://github.com/softspark/ai-toolkit
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
|
|
19
|
+
If you redistribute this software or a derivative of it, Section 4(d) of the
|
|
20
|
+
License requires you to carry the contents of this NOTICE file with it.
|
|
21
|
+
|
|
22
|
+
--------------------------------------------------------------------------------
|
|
23
|
+
|
|
24
|
+
PRIOR LICENSE
|
|
25
|
+
|
|
26
|
+
Releases up to and including v4.20.0 were distributed under the MIT License.
|
|
27
|
+
Those releases remain available under MIT; this change applies going forward and
|
|
28
|
+
does not revoke any permission already granted.
|
|
29
|
+
|
|
30
|
+
Contributions made while the project was MIT-licensed remain the copyright of
|
|
31
|
+
their authors and were received under MIT terms. MIT permits sublicensing, so
|
|
32
|
+
they are redistributed here under the Apache License 2.0 with the original
|
|
33
|
+
notice preserved below, as MIT requires.
|
|
34
|
+
|
|
35
|
+
MIT License
|
|
36
|
+
|
|
37
|
+
Copyright (c) 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
38
|
+
|
|
39
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
40
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
41
|
+
in the Software without restriction, including without limitation the rights
|
|
42
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
43
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
44
|
+
furnished to do so, subject to the following conditions:
|
|
45
|
+
|
|
46
|
+
The above copyright notice and this permission notice shall be included in all
|
|
47
|
+
copies or substantial portions of the Software.
|
|
48
|
+
|
|
49
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
50
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
51
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
52
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
55
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -3,29 +3,35 @@
|
|
|
3
3
|
> Professional-grade AI coding toolkit with multi-platform support. Machine-enforced safety, 108 skills, 44 agents, expanded lifecycle hooks, persona presets, experimental opt-in plugin packs, and benchmark tooling — works with Claude Code, Claude Chat/Cowork, Cursor, Devin, Copilot, Gemini, Cline, Roo/Zoo Code, Aider, Augment, Google Antigravity, Codex CLI, and opencode.
|
|
4
4
|
|
|
5
5
|
[](https://github.com/softspark/ai-toolkit/actions/workflows/ci.yml)
|
|
6
|
-
[](LICENSE)
|
|
7
7
|
[](app/skills/)
|
|
8
8
|
[](app/agents/)
|
|
9
|
-
[](tests/)
|
|
10
|
+
|
|
11
|
+
## What's New in v4.21.0
|
|
12
|
+
|
|
13
|
+
v4.21.0 makes the KB taxonomy one list instead of three, and teaches
|
|
14
|
+
`validate.py` to enforce it.
|
|
15
|
+
|
|
16
|
+
- **The taxonomy is eight categories**: `reference`, `howto`, `procedures`,
|
|
17
|
+
`troubleshooting`, `best-practices`, `decisions`, `runbooks`, `planning`.
|
|
18
|
+
`decisions` and `runbooks` were missing while the `kb-migration` SOP had been
|
|
19
|
+
telling people to create those directories for months — a correctly-filed ADR
|
|
20
|
+
failed validation.
|
|
21
|
+
- **The `documentation-standards` skill no longer contradicts itself.** Its
|
|
22
|
+
frontmatter said "5-category", its table listed five, and a line below named
|
|
23
|
+
six. Author and validator disagreed, and only the validator got a vote.
|
|
24
|
+
- **`section:` is documented as a legacy alias for `category:`**, and
|
|
25
|
+
`validate.py` rejects a document carrying both with different values — that
|
|
26
|
+
document is indexed twice and found once.
|
|
27
|
+
- **A document's category must name its directory**, checked only for
|
|
28
|
+
directories that are category names: `kb/history/completed/` is a lifecycle
|
|
29
|
+
location, not a type, and a finished plan filed there is still `planning`.
|
|
30
|
+
- **`procedures` and `runbooks` stopped describing each other.** A procedure is
|
|
31
|
+
followed by a person; a runbook is run against a live system.
|
|
24
32
|
|
|
25
33
|
See [CHANGELOG.md](CHANGELOG.md) for full history.
|
|
26
34
|
|
|
27
|
-
---
|
|
28
|
-
|
|
29
35
|
## Table of Contents
|
|
30
36
|
|
|
31
37
|
- [Install](#install)
|
|
@@ -147,7 +153,7 @@ See [CLI Reference](kb/reference/cli-reference.md) for all commands and options.
|
|
|
147
153
|
| `skills/` (knowledge) | 46 | Domain knowledge auto-loaded by agents (includes 13 `<lang>-rules` skills) |
|
|
148
154
|
| `agents/` | 44 | Specialized agents across 10 categories |
|
|
149
155
|
| `hooks/` | 28 entries / 14 events + statusLine | Quality gates, path safety, prompt governance, loop guard, session lifecycle |
|
|
150
|
-
| `plugins/` |
|
|
156
|
+
| `plugins/` | 2 packs | Opt-in packs that install files of their own (memory, enterprise) |
|
|
151
157
|
| `constitution.md` | 7 articles | Machine-enforced safety rules |
|
|
152
158
|
| `rules/` | auto-synced | Global/project rule files for Claude and other editors |
|
|
153
159
|
| `kb/` | reference docs | Architecture, procedures, and best practices |
|
|
@@ -164,7 +170,7 @@ ai-toolkit/
|
|
|
164
170
|
│ ├── rules/ # Source rules synced into Claude/editor rule files
|
|
165
171
|
│ ├── hooks/ # Hook scripts (29 entries, 14 lifecycle events)
|
|
166
172
|
│ ├── claude-app/ # Generated Chat/Cowork plugin rules, hooks, instructions
|
|
167
|
-
│ ├── plugins/ #
|
|
173
|
+
│ ├── plugins/ # 2 experimental plugin packs (opt-in)
|
|
168
174
|
│ ├── output-styles/ # System prompt output style overrides
|
|
169
175
|
│ ├── constitution.md # 7 immutable safety articles
|
|
170
176
|
│ └── ARCHITECTURE.md # Full system design
|
|
@@ -312,7 +318,15 @@ See [SECURITY.md](SECURITY.md) for responsible disclosure policy.
|
|
|
312
318
|
|
|
313
319
|
## License
|
|
314
320
|
|
|
315
|
-
|
|
321
|
+
Apache License 2.0 — see [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
|
322
|
+
|
|
323
|
+
Fork it, modify it, ship it commercially. Three things the licence asks in return:
|
|
324
|
+
|
|
325
|
+
- **Keep the attribution.** Redistributions must carry the contents of [NOTICE](NOTICE) (§4d) — that is where the project name, copyright and source URL live.
|
|
326
|
+
- **Say what you changed.** Modified files must carry a prominent notice stating that you changed them (§4b).
|
|
327
|
+
- **Names are not included.** The licence grants no rights to the "ai-toolkit" or "SoftSpark" names or marks (§6).
|
|
328
|
+
|
|
329
|
+
Releases up to and including v4.20.0 were published under MIT and stay available under MIT; the change applies going forward and revokes nothing already granted. Contributions received while the project was MIT-licensed remain their authors' copyright and are redistributed under Apache 2.0 with the original MIT notice preserved in [NOTICE](NOTICE), as MIT requires.
|
|
316
330
|
|
|
317
331
|
## Changelog
|
|
318
332
|
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
"name": "ai-toolkit",
|
|
4
4
|
"displayName": "AI Toolkit",
|
|
5
5
|
"description": "Professional-grade engineering skills, agents, rules, and lifecycle guardrails for Claude Code, Claude Chat, and Cowork.",
|
|
6
|
-
"version": "4.
|
|
6
|
+
"version": "4.21.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "SoftSpark",
|
|
9
9
|
"url": "https://github.com/softspark"
|
|
10
10
|
},
|
|
11
11
|
"repository": "https://github.com/softspark/ai-toolkit",
|
|
12
|
-
"license": "
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
13
|
"homepage": "https://github.com/softspark/ai-toolkit",
|
|
14
14
|
"skills": "./claude-app/skills/",
|
|
15
15
|
"hooks": "./claude-app/hooks/hooks.json",
|
package/app/hooks/_hook-io.sh
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# _hook-io.sh — shared JSON input/output helpers for multi-editor hooks.
|
|
3
7
|
#
|
|
4
8
|
# Source this file from hook scripts. It expects the caller to set INPUT to the
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# _locate-toolkit.sh — shared toolkit-root locator for hooks needing scripts/.
|
|
3
7
|
#
|
|
4
8
|
# Source this file to get $TOOLKIT_DIR set to the ai-toolkit checkout root.
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# _profile-check.sh — shared profile skip logic for hooks
|
|
3
7
|
# Source this file at the top of any hook that should be skipped in minimal profile.
|
|
4
8
|
#
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# _search-capability.sh — determine whether strict search-first enforcement is safe.
|
|
3
7
|
#
|
|
4
8
|
# Default is conservative: do not block users unless a search provider is
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# _session-paths.sh — shared per-repo session storage paths for lifecycle hooks.
|
|
3
7
|
#
|
|
4
8
|
# All auto-generated session artifacts live OUTSIDE the project repo, under a
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# ai-toolkit-statusline.sh — comprehensive Claude Code status line.
|
|
3
7
|
#
|
|
4
8
|
# Renders one line. Left side: cwd, git, ctx%, i/o token split.
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# commit-quality.sh — Advisory commit message quality check.
|
|
3
7
|
#
|
|
4
8
|
# Fires on: PreToolUse (Bash)
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# config-desync-guard.sh — Warn when ~/.claude/settings.json drifts from
|
|
3
7
|
# the ai-toolkit source manifest (app/hooks.json).
|
|
4
8
|
#
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# governance-capture.sh — Log security-sensitive operations to governance log.
|
|
3
7
|
#
|
|
4
8
|
# Fires on: PostToolUse
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# guard-config.sh — Block edits to linter/formatter config files unless explicitly requested.
|
|
3
7
|
#
|
|
4
8
|
# Fires on: PreToolUse (Edit|Write|MultiEdit)
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# guard-destructive.sh — Block destructive bash commands.
|
|
3
7
|
#
|
|
4
8
|
# Fires on: PreToolUse (Bash)
|
package/app/hooks/guard-path.sh
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# guard-path.sh — Prevent Claude from guessing/hallucinating user home directory paths.
|
|
3
7
|
#
|
|
4
8
|
# Fires on: PreToolUse (Bash|Read|Edit|Write|MultiEdit|Glob|Grep|NotebookEdit|mcp__filesystem__.*)
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
# Copyright 2024-2026 Lukasz Krzemien (biuro@softspark.eu)
|
|
4
|
+
# Source: https://github.com/softspark/ai-toolkit
|
|
5
|
+
#
|
|
2
6
|
# instructions-audit.sh — Log which CLAUDE.md / rules / skills loaded.
|
|
3
7
|
#
|
|
4
8
|
# Fires on: InstructionsLoaded
|