Claude Code is an AI-powered CLI tool by Anthropic. This project includes custom skills (.claude/skills/) that teach Claude Code how to work with the SkyWalking Java Agent codebase.
Skills are reusable prompt templates that Claude Code can invoke via slash commands. They encode project-specific knowledge so that common development tasks can be performed consistently and correctly.
/new-plugin — Develop a New PluginGuides the full lifecycle of creating a new SkyWalking Java agent plugin:
provided scope)skywalking-plugin.defKey principles encoded in this skill:
ClassEnhancePluginDefineV2, InstanceMethodsAroundInterceptorV2).class references in instrumentation — always string literalsEnhancedInstance.setSkyWalkingDynamicField()/compile — Build the ProjectRuns the appropriate build command based on what you need:
skywalking-java repository rootclaude to start Claude Code/new-plugin or /compile to invoke a skillSkills can also be triggered implicitly — when you describe a task that matches a skill's purpose, Claude Code may suggest or invoke it automatically.
In addition to skills, the project includes CLAUDE.md files that provide codebase context:
| File | Purpose |
|---|---|
CLAUDE.md (root) | Project overview, build system, architecture, conventions |
apm-sniffer/apm-sdk-plugin/CLAUDE.md | SDK plugin development guide (V2 API, class matching, testing) |
apm-sniffer/bootstrap-plugins/CLAUDE.md | Bootstrap plugin specifics (JDK class instrumentation) |
These files are automatically loaded by Claude Code when working in the repository, providing it with the knowledge needed to assist with development tasks.