ccg-annotatelisted
Install: claude install-skill tae2089/code-context-graph
# code-context-graph — Annotation System
AI-driven annotation workflow for adding structured metadata to code. Annotations are indexed and searchable via FTS.
## Subcommands
| Command | Description | Example |
|---------|-------------|---------|
| `annotate [file\|dir]` | AI-generate annotations for code | `ccg annotate internal/analysis/` |
| `example [language]` | Show annotation writing example | `ccg example go` |
| `tags` | Show all annotation tag reference | `ccg tags` |
## MCP Tools (1)
| Tool | Description |
|------|-------------|
| `get_annotation` | Get annotation and doc tags for a specific node |
## Available Tags
| Tag | Purpose | Example |
|-----|---------|---------|
| `@index` | File/package description | `@index Payment processing service` |
| `@intent` | Why this function exists | `@intent verify credentials before session creation` |
| `@domainRule` | Business rule | `@domainRule lock account after 5 failures` |
| `@sideEffect` | Side effects | `@sideEffect sends notification email` |
| `@mutates` | State changes | `@mutates user.FailedAttempts, session.Token` |
| `@requires` | Precondition | `@requires user.IsActive == true` |
| `@ensures` | Postcondition | `@ensures session != nil` |
| `@param` | Parameter description | `@param username the login ID` |
| `@return` | Return description | `@return JWT token on success` |
| `@see` | Related function | `@see SessionManager.Create` |
## AI Annotation Workflow
`ccg annotate` is NOT a CLI binary command