with one click
create-go-module
Create a new Go module in the agent repository
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a new Go module in the agent repository
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Generate the Agent Supply Chain newsletter by researching team activity on GitHub and Confluence, then creating a Confluence draft and Gmail draft
Give your AI agents something more useful than a prompt. Velocity through clarity.
Extract an Allium specification from an existing codebase. Use when the user has existing code and wants to distil behaviour into a spec, reverse engineer a specification from implementation, generate a spec from code, turn implementation into a behavioural specification, or document what a codebase does in Allium terms.
Run a structured discovery session to build an Allium specification through conversation. Use when the user wants to create a new spec from scratch, elicit or gather requirements, capture domain behaviour, specify a feature or system, define what a system should do, or is describing functionality and needs help shaping it into a specification.
Generate tests from Allium specifications. Use when the user wants to propagate tests, generate test files from a spec, write tests for a specification, create property-based tests, produce state machine tests, check test coverage against spec obligations, or understand what tests a specification requires.
Autonomously work on Jira backlog tickets, creating PRs and shepherding them to merge
| name | create-go-module |
| description | Create a new Go module in the agent repository |
| allowed-tools | Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion |
| argument-hint | [module-path] |
| model | sonnet |
Create a new Go module in the datadog-agent multi-module repository. This repo has 100+ Go modules managed via modules.yml and inter-module replace directives.
Use AskUserQuestion to collect the following. If $ARGUMENTS provides the path, skip that question.
Module path: The path relative to the repo root (e.g. comp/core/mything/def, pkg/util/mypkg). This becomes github.com/DataDog/datadog-agent/<path>.
Does the directory already contain Go code?: If yes, the tool will also update dependent modules. If no, it just creates the go.mod and registers the module.
The create-module task requires all changes to be committed. Check with git status and warn the user if there are uncommitted changes.
dda inv create-module --path=<module-path>
This task automatically:
go.mod with the correct module path and Go versionreplace directives for inter-module dependenciesmodules.yml as independent: truetidy across all modulesinternal-deps-checker, check-mod-tidy, check-go-mod-replaces)Read modules.yml and review the new entry. The task sets independent: true by default. Adjust if needed:
| Field | Values | Notes |
|---|---|---|
independent | true/false | true = tagged and tested independently |
used_by_otel | true | Set if the module is used by the OTel agent build |
should_tag | false | Set for internal tooling modules that shouldn't be tagged |
should_test_condition | never/always | Override test behavior |
lint_targets / test_targets | list of paths | Override default targets |
Most modules use default (no special config) or just set used_by_otel: true.
Report whether the task succeeded or failed. If it failed, read the error output and help fix the issue.
create-module — the task may restore files on failure.go.work and all necessary replace directives are set up.modules.yml or dda inv modules.show./create-go-module — Interactive: prompts for the module path/create-go-module comp/core/mything/def — Pre-fills the path