Confirm successful installation by checking the skill directory location:
.cursor/skills/axiom-vision-diag
Restart Cursor to activate axiom-vision-diag. Access via /axiom-vision-diag in your agent's command palette.
β
Security Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Most landmarks > 0.5 confidence β Good detection
Many landmarks < 0.3 β Poor lighting, occlusion, or edge of frame
Step 3: Verify Threading
print("π§΅ Thread: \(Thread.current)")ifThread.isMainThread {print("β Running on MAIN THREAD - will block UI!")}else{print("β Running on background thread")}
Expected output:
β Background thread β Correct
β Main thread β Move to DispatchQueue.global()
Decision Tree
Vision not working as expected?
β
ββ No results returned?
β ββ Check Step 1 output
β β ββ "Request failed" β See Pattern 1a (API availability)
β β ββ "No results" β See Pattern 1b (nothing detected)
β β ββ Results but count = 0 β See Pattern 1c (edge of frame)
β
ββ Landmarks have nil/low confidence?
β ββ Hand pose β See Pattern 2 (hand detection issues)
β ββ Body pose β See Pattern 3 (body detection issues)
β ββ Face detection β See Pattern 4 (face detection issues)
β
ββ UI freezing/slow?
β ββ Check Step 3 (threading)
β β ββ Main thread β See Pattern 5a (move to background)
β β ββ Background thread β See Pattern 5b (performance tuning)
β
ββ Overlays in wrong position?
β ββ See Pattern 6 (coordinate conversion)
β
ββ Person segmentation missing people?
β ββ See Pattern 7 (crowded scenes)
β
ββ VisionKit not working?
β ββ See Pattern 8 (VisionKit specific)
β
ββ Text recognition issues?
β ββ No text detected β See Pattern 9a (image quality)
β ββ Wrong characters β See Pattern 9b (language/correction)
β ββ Too slow β See Pattern 9c (recognition level)
β
ββ Barcode detection issues?
β ββ Barcode not detected β See Pattern 10a (symbology/size)
β ββ Wrong payload β See Pattern 10b (barcode quality)
β
ββ DataScannerViewController issues?
β ββ Blank screen β See Pattern 11a (availability check)
β ββ Items not detected β See Pattern 11b (data types)
β
ββ Document scanning issues?
ββ Edges not detected β See Pattern 12a (contrast/shape)
ββ Perspective wrong β See Pattern 12b (corner points)
"VNGenerateForegroundInstanceMaskRequest is only available on iOS 17.0 or newer"
"VNDetectHumanBodyPose3DRequest is only available on iOS 17.0 or newer"
Root cause: Using iOS 17+ APIs on older deployment target
Prevention: Check API availability in axiom-vision-ref before implementing
Time to fix: 10 min
Pattern 1b: No Results (Nothing Detected)
Symptom: request.results == nil or results.isEmpty
Diagnostic:
// 1. Save debug image to PhotosUIImageWriteToSavedPhotosAlbum(debugImage,nil,nil,nil)// 2. Inspect visually// - Is subject too small? (< 10% of image)// - Is subject blurry?// - Poor contrast with background?
Common causes:
Subject too small (resize or crop closer)
Subject too blurry (increase lighting, stabilize camera)
Low contrast (subject same color as background)
Fix:
// Crop image to focus on region of interestlet croppedImage =cropImage(sourceImage, to: regionOfInterest)let handler =VNImageRequestHandler(cgImage: croppedImage)
Time to fix: 30 min
Pattern 1c: Edge of Frame Issues
Symptom: Subject detected intermittently as object moves across frame
Root cause: Partial occlusion when subject touches image edges
Diagnostic:
// Check if subject is near edgesiflet observation = results.first as?VNInstanceMaskObservation{let mask =try observation.createScaledMask(for: observation.allInstances, croppedToInstancesContent:true)let bounds =calculateMaskBounds(mask)if bounds.minX <0.1|| bounds.maxX >0.9|| bounds.minY <0.1|| bounds.maxY >0.9{print("β οΈ Subject too close to edge")}}
Fix:
// Add padding to capture arealet paddedRect
β
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
βΊAccess to product documentation and roadmap tools (Jira, Notion, etc.)
βΊUnderstanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
βΊStakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Steps
1Install product management skill
2Start with user story generation for known feature
3Progress to competitive analysis: research 2-3 competitors
4Use for roadmap prioritization: apply RICE/ICE scoring
5Draft stakeholder communications and refine based on feedback
6Build template library for recurring PM tasks
7Share effective prompts with product team
Common Pitfalls
β Not validating competitive researchβverify facts before sharing
β Accepting user stories without involving engineering team
β Over-relying on frameworks without qualitative judgment
β Not customizing outputs to company culture and communication style
β Skipping stakeholder validation of generated requirements
Best Practices
β Do
+Validate research and competitive analysis with real data
+Collaborate with engineering when generating technical requirements
+Customize frameworks and templates to your company context
+Use skill for first drafts, refine with stakeholder input
+Document successful prompt patterns for PM tasks
+Combine AI efficiency with human judgment and intuition
β Don't
βDon't publish competitive analysis without fact-checking
βDon't finalize user stories without engineering review
βDon't make prioritization decisions solely on AI scoring
βDon't skip customer validation of generated requirements
βDon't ignore company-specific context and culture
π‘ Pro Tips
β Provide context: company goals, constraints, customer feedback
β Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
β Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
β Use skill for 70% generation + 30% customization to company needs
When to Use This
β Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
β Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path
1Basic: user stories, feature specs, status updates