Code Writer

Delegate boilerplate code generation to AiKA. Use for tests, config, docstrings, type stubs, or any generation where >80% is predictable from reference files.

spotify 1b5688b 730 B Updated

File contents

# Generate and write directly to target file
${CLAUDE_PLUGIN_ROOT}/scripts/code-write --spec "<what to generate>" --reference <reference-file> --target <output-path>

# Output to stdout instead (omit --target)
${CLAUDE_PLUGIN_ROOT}/scripts/code-write --spec "<what to generate>" --reference <reference-file>

Each call is independent. To build on what was just generated, pass that file as the --reference for the next call.

Review the output and make surgical edits for the ~5-20% that needs Claude-level judgment.

spotify/portal-ai-plugins/tree/main/plugins/shunt/skills/code-writer commit 1b5688b129

Frequently asked questions

npx skillmds@latest add spotify/code-writer