Annotate — Annotation Reference
Quick-reference skill for code annotation, type hints, documentation strings, and data labeling.
When to Use
- Adding type annotations to Python, TypeScript, or Java code
- Writing JSDoc, docstrings, or Javadoc documentation
- Labeling datasets for machine learning training
- Using git annotate/blame for code archaeology
- Understanding decorator/annotation patterns in frameworks
Commands
intro
scripts/script.sh intro
Overview of annotation types — code, data, and metadata annotations.
types
scripts/script.sh types
Type annotations — Python type hints, TypeScript types, Java generics.
docstrings
scripts/script.sh docstrings
Documentation annotations — JSDoc, Python docstrings, Javadoc, XML comments.
decorators
scripts/script.sh decorators
Decorator/annotation patterns — Python decorators, Java annotations, TypeScript decorators.
labeling
scripts/script.sh labeling
Data labeling for ML — annotation types, tools, quality control, and formats.
git
scripts/script.sh git
Git annotation — blame, annotate, log, and code archaeology techniques.
standards
scripts/script.sh standards
Annotation standards — OpenAPI, JSON Schema, GraphQL descriptions, YAML comments.
best
scripts/script.sh best
Annotation best practices — when to annotate, what to skip, and maintenance.
help
scripts/script.sh help
version
scripts/script.sh version
Configuration
| Variable | Description |
|---|---|
ANNOTATE_DIR |
Data directory (default: ~/.annotate/) |
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com