declscope-authoring - Author Go code under declscope
Guides where to place, name, scope, move, and test Go declarations in repositories that already run declscope.
Tags
Updated: 2026-11-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Place declarations by concern
- Choose declaration scope
- Name declarations accurately
- Apply declscope directives
- Handle baselined packages
- Fix declscope findings
Inputs
- Go repository
- declscope configuration
- Baseline file
- Requested code change
- declscope diagnostics
Outputs
- Modified Go source files
- Updated declscope directives
- Changed declaration names or locations
- Resolved declscope findings
Requirements
- Go repository already using declscope
- declscope CLI
- declscope version information
