velt-area-best-practices
Best practices for Velt Area Comments — the rectangle area-annotation feature that lets users draw a region on the page and attach a comment thread to it…
Skill by velt
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/velt-js-velt-area-best-practices
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/velt-area-best-practices
What's inside
- Skill name
velt-area-best-practices- Description
- Best practices for Velt Area Comments — the rectangle area-annotation feature that lets users draw a region on the page and attach a comment thread to it (Figma-style 'draw a box and comment'). Use whenever the user is toggling area comments on or off (areaComment prop on VeltComments, or commentElement.enableAreaComment / disableAreaComment), customizing the area pin via the velt-area-pin-portal-wireframe tag, binding componentConfig.areaPinAnnotation / componentConfig.selected / componentConfig.isResizing / componentConfig.hideAreaAnnotation template variables, or reading the AreaAnnotation data model (annotationId, from, targetElements, areaProperties, targetAnnotations linking back to comments). Trigger on any task involving Velt area comments, rectangle annotations on documents, draw-a-box-and-comment UI, area pin customization, or the AreaAnnotation / AreaProperty / AreaTargetAnnotation shapes — even if the user does not explicitly say 'Velt' or 'area comments'.
- License
- MIT
- Metadata
- author: velt · version: 1.0.0
- Instructions
- 64 lines in SKILL.md · view on GitHub
Files (8)
- AGENTS.full.md
- AGENTS.md
- SKILL.md
- metadata.json
- _sections.md · rules/shared/
- api-toggle-area-comments.md · rules/shared/api/
- types-area-annotation.md · rules/shared/types/
- wireframe-variables-area.md · rules/shared/wireframe-variables/
SKILL.md (first lines)
# Velt Area Comments Best Practices
Implementation guide for Velt Area Comments — the rectangle area-annotation feature where users draw a box on the page and attach a comment thread to that region. Area is built on top of the Comments feature: it's not a separate component, it's a mode of `<VeltComments>` that is enabled by default and toggled via a prop or runtime method.
## When to Apply
Reference these guidelines when:
- Toggling area comments on or off in your app (default is ON)
- Choosing between the declarative `areaComment` prop on `<VeltComments>` and the imperative `commentElement.enableAreaComment()` / `disableAreaComment()` API
- Building a custom area pin via the wireframe surface — only `<velt-area-pin-portal-wireframe>` registers; the tool and container do not yet
- Reading `componentConfig.areaPinAnnotation`, `componentConfig.selected`, `componentConfig.isResizing`, `componentConfig.hideAreaAnnotation`, or the geometry / resize-offset variables
- Typing against `AreaAnnotation`, `AreaProperty`, `AreaTargetAnnotation`, or `AreaMetadata`
- Understanding how an `AreaAnnotation` links back to the comment thread(s) it scopes via `targetAnnotations[]`
## Area is a Comments-feature mode
There is **no** standalone `<VeltArea>` component. Area annotations are produced by the Comments feature when the area mode is active. The relevant SDK handle is `client.getCommentElement()` (the comments handle), not a hypothetical `getAreaElement()`. The three Area-specific public elements (`<velt-area-pin-portal>`, `<velt-area-tool>`, `<velt-area-container>`) are rendered automatically by the comments runtime when area mode is enabled.
## Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | API | HIGH | `api-` |
| 2 | Wireframe Variables | MEDIUM | `wireframe-variables-` |
| 3 | Types | MEDIUM | `types-` |
## Quick Reference
### API (HIGH)
- `api-toggle-area-comments` — `<VeltComments areaComment={false}>` prop and `commentElement.enableAreaComment()` / `disableAreaComment()` runtime methods; the three public Area primitives (tool / pin-portal / container); the "no standalone component" framing
### Wireframe Variables (MEDIUM)
- `wireframe-variables-area` — `<velt-area-pin-portal-wireframe>` (the only Area primitive with a wireframe registration today) and its `componentConfig.*` reference (areaPinAnnotation, selected, isResizing, hideAreaAnnotation, areaProperties, resizingOffset, offsetTop/Left, areaAnnotationColor, commentPinAnnotation link)
### Types (MEDIUM)
- `types-area-annotation` — `AreaAnnotation` shape with the comment-linkage field `targetAnnotations[]` (`AreaTargetAnnotation[]`); supporting `AreaProperty` (geometry) and `AreaMetadata` (open extras); how area pins attach to comment threads
## How to Use
Read individual rule files for detailed explanations and code examples:
```
rules/shared/api/api-toggle-area-comments.md
rules/shared/wireframe-variables/wireframe-variables-area.md
rules/shared/types/types-area-annotation.md
```
Each rule contains:
- Why it matters
- React / Next.js + Other Frameworks code samples
- Common pitfalls
- Verification checklist
- Source pointers to official docs
## Related skills
- **`velt-comments-best-practices`** — Area is a mode of the comments feature; the `commentElement` handle, comment-annotation shape, and most surrounding setup live in the comments skill. Cross-link rather than duplicate.
## Compiled Documents
- `AGENTS.md` — Compressed index of all rules with file paths (start here)
- `AGENTS.full.md` — Full verbose guide with all rules expanded inlineFrom velt-js/velt-plugin-claude, MIT.
More from velt-js/velt-plugin-claude
- 0.474score
velt-presence-best-practices
velt
Velt Presence implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-proxy-server-best-practices
velt
Velt proxy server setup and configuration best practices for routing Velt SDK traffic through your own reverse proxy (nginx or Cloudflare Workers).
SkillCFreshness: CClaude Code +9 - 0.474score
velt-arrows-best-practices
velt
Best practices for Velt Arrows — the directional arrow annotation feature that lets users draw arrows pinned to DOM elements for visual feedback, design…
SkillCFreshness: CClaude Code +9 - 0.474score
velt-recorder-best-practices
velt
Velt Recorder implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-chat-sdk-adapter-best-practices
velt
Velt Chat SDK Adapter implementation patterns and best practices for building bots that integrate with Velt comment threads.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-comments-best-practices
velt
Velt Comments implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-crdt-best-practices
velt
Velt CRDT (Yjs) collaborative editing best practices for real-time applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-activity-best-practices
velt
Velt Activity Logs implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-rest-apis-best-practices
velt
Velt REST API v2 and webhook best practices for server-side integration.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-huddle-best-practices
velt
Velt Huddle implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-live-state-sync-best-practices
velt
Velt Live State Sync implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-node-sdk-best-practices
velt
Velt Node SDK (`@veltdev/node`) implementation patterns for Node.js / TypeScript backends.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/velt-js/velt-plugin-claude
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from velt
- 0.474score
velt-activity-best-practices
velt
Velt Activity Logs implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-arrows-best-practices
velt
Best practices for Velt Arrows — the directional arrow annotation feature that lets users draw arrows pinned to DOM elements for visual feedback, design…
SkillCFreshness: CClaude Code +9 - 0.474score
velt-chat-sdk-adapter-best-practices
velt
Velt Chat SDK Adapter implementation patterns and best practices for building bots that integrate with Velt comment threads.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-comments-best-practices
velt
Velt Comments implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-crdt-best-practices
velt
Velt CRDT (Yjs) collaborative editing best practices for real-time applications.
SkillCFreshness: CClaude Code +9 - 0.474score
velt-huddle-best-practices
velt
Velt Huddle implementation patterns and best practices for React, Next.js, and web applications.
SkillCFreshness: CClaude Code +9
Cite this page
velt-area-best-practices skill. Agent Mart. https://agentmart.dev/skills/velt-js-velt-area-best-practices (last updated 2026-10-24)