Add development-scripts agent skill
Ports generic-scripts-module-v1 into a routed skill: module anatomy, shared loggers/base modules, Taskfile integration, workflows, and pattern decisions. Fixes a latent defect in the loggers example that silenced all logging in the module scaffold: loggers/lib/--index-api.sh now sources --env-vars-reader.sh, and the reader preserves already-exported values so caller overrides still win. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# `module-example-v1` Generic Scaffold
|
||||
|
||||
This is a generic reference scaffold for a new Cognitive Architect script module.
|
||||
|
||||
To adapt it:
|
||||
|
||||
1. Copy `module-example-v1/` into `.scripts/<new-module>/`.
|
||||
2. Replace paths containing `module-example-v1`.
|
||||
3. Replace environment prefix `MODULE_EXAMPLE_V1_`.
|
||||
4. Replace function prefix `_moduleExampleV1_`.
|
||||
5. Add public API wrappers and implementation files as needed.
|
||||
6. Add a root `Taskfile.yml` include only if the module should be task-runner public.
|
||||
7. Run `bash -n` against all generated `.sh` files.
|
||||
Reference in New Issue
Block a user