Skip to content

Adding .Claude folder - #2295

Draft
nrshrivatsan wants to merge 3 commits into
roboflow:developfrom
nrshrivatsan:develop
Draft

nrshrivatsan wants to merge 3 commits into
roboflow:developfrom
nrshrivatsan:develop

Conversation

@nrshrivatsan

Copy link
Copy Markdown

What

Claude code with skills for users to get started

@nrshrivatsan
nrshrivatsan requested a review from SkalskiP as a code owner June 7, 2026 06:55
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


vtsn seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Borda Borda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nrshrivatsan, it seems like an interesting contribution. Could you share your motivation or why AGENTS?MD and extended contribution guide is not sufficient?

@Borda
Borda marked this pull request as draft June 9, 2026 11:39
@nrshrivatsan

Copy link
Copy Markdown
Author

Idea is simple - Supervision could be of immense value to non coders such as

  • Medical researchers
  • Materials researchers
  • Biologists

However the barrier to entry could be lowered if they could use Claude code to jump start ( instead of cold start)

Hence the idea.

Hope this makes sense.

@Borda

Borda commented Jun 14, 2026

Copy link
Copy Markdown
Member

This is great to hear just to undestand they would most likely use supervison as a tool not develop features for supervison, right?

@nrshrivatsan

Copy link
Copy Markdown
Author

Yes- tool based use is the target access pattern.

@nrshrivatsan

Copy link
Copy Markdown
Author

Any updates on this PR?

@Borda

Borda commented Jun 28, 2026

Copy link
Copy Markdown
Member

Any updates on this PR?

Still figuring out the benefit compare to the CALUDE. md

@Borda
Borda requested a balanced review from Copilot August 12, 2026 10:35
@Borda

Borda commented Aug 12, 2026

Copy link
Copy Markdown
Member

BTW, how was this generated?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Claude Code guidance for setup, exploration, recipes, and production pipelines.

Changes:

  • Adds four proposed skills with examples.
  • Catalogs local cookbook notebooks.
  • Provides supervision workflow guidance.

Assessment: Code quality 1/5 · Testing 1/5 · Documentation 2/5

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 9 comments.

File Description
.claude/skills/use.md Video, tracking, analytics, and SAHI guidance.
.claude/skills/setup.md Environment setup guidance.
.claude/skills/explore.md Detection and dataset exploration guidance.
.claude/skills/cookbooks.md Local notebook catalog.
Suppressed comments (1)

.claude/skills/use.md:83

  • This zone example cannot run: the escaped brackets are invalid Python, and PolygonZone.__init__ does not accept frame_resolution_wh, causing a TypeError after the syntax is corrected. The current API derives its mask resolution from the polygon.
polygon = np.array(\[[10, 10], [100, 10], [100, 100], [10, 100]\])
zone = sv.PolygonZone(polygon=polygon, frame_resolution_wh=video_info.resolution_wh)

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .claude/skills/use.md
@@ -0,0 +1,120 @@
<skill>
Comment thread .claude/skills/setup.md
@@ -0,0 +1,54 @@
<skill>
Comment thread .claude/skills/explore.md
@@ -0,0 +1,123 @@
<skill>
@@ -0,0 +1,44 @@
<skill>
Comment thread .claude/skills/use.md
Comment on lines +53 to +57
for frame in frame_generator:
\# 1. Model Inference
\# 2. sv.Detections
\# 3. Annotate
sink.write_frame(annotated_frame)
Comment thread .claude/skills/use.md
Comment on lines +95 to +100
import supervision as sv

def callback(image: np.ndarray) -> sv.Detections:
\# Your model inference logic here
\# Must return sv.Detections object
return sv.Detections(...)
Comment thread .claude/skills/setup.md
Comment on lines +37 to +41
try:
import inference
print("✅ inference installed")
except ImportError:
print("❌ inference missing")
Comment thread .claude/skills/explore.md
Comment on lines +71 to +75
labels = \[
f"{class_id} {confidence:.2f}"
for class_id, confidence
in zip(detections.class_id, detections.confidence)
\]
Comment thread .claude/skills/use.md
Comment on lines +114 to +116
for tracker_id in detections.tracker_id:
if is_in_zone\[detections.tracker_id == tracker_id\]:
on_entry(tracker_id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants