LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

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-28

Capabilities

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

Source

  • Spec: SKILL.md
Go
declscope
code organization
namespaces
static analysis
refactoring
Place declarations by concern
Choose declaration scope
Name declarations accurately
Apply declscope directives
Go repository
declscope configuration
Baseline file
Modified Go source files
Updated declscope directives
Changed declaration names or locations