Skip to content
Back to skills

Geometry Algorithm Library

ASecurity

Implement computational geometry algorithms

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythongojavabackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill geometry-algorithm-library --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Geometry Algorithm Library?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Geometry Algorithm Library
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-geometry-algorithm-library-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-geometry-algorithm-library-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: geometry-algorithm-library
description: Implement computational geometry algorithms
allowed-tools:
  - Read
  - Write
  - Grep
  - Glob
  - Edit
graph:
  domains: [domain:computer-science]
  specializations: [specialization:algorithms-optimization]
  skillAreas: [skill-area:computational-geometry]
  roles: [role:backend-engineer, role:computational-scientist]
---

# Geometry Algorithm Library Skill

## Purpose

Implement computational geometry algorithms for competitive programming and algorithmic problems.

## Capabilities

- Convex hull (Graham scan, Andrew's monotone chain)
- Line intersection algorithms
- Closest pair of points
- Point in polygon tests
- Voronoi diagram, Delaunay triangulation
- Polygon clipping

## Target Processes

- computational-geometry

## Algorithm Catalog

### Convex Hull
- Graham scan O(n log n)
- Andrew's monotone chain O(n log n)
- Jarvis march O(nh)

### Intersection Algorithms
- Line sweep for segment intersection
- Bentley-Ottmann algorithm
- Polygon intersection

### Distance Problems
- Closest pair of points O(n log n)
- Farthest pair (rotating calipers)
- Point-polygon distance

### Triangulation
- Ear clipping O(n^2)
- Delaunay triangulation
- Voronoi diagram

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "algorithm": { "type": "string" },
    "variant": { "type": "string" },
    "language": {
      "type": "string",
      "enum": ["cpp", "python", "java"]
    },
    "includeVisualization": { "type": "boolean", "default": false }
  },
  "required": ["algorithm"]
}
```

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "code": { "type": "string" },
    "complexity": { "type": "object" },
    "usage": { "type": "string" }
  },
  "required": ["success", "code"]
}
```

Files in this skill

  • README.md650 B
  • SKILL.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…