MCP HubMCP Hub
스킬 목록으로 돌아가기

construct-geometric-figure

pjt222
업데이트됨 Yesterday
1 조회
17
2
17
GitHub에서 보기
메타word

정보

이 Claude 기술은 고전적인 유클리드 자와 컴퍼스 작도를 수행하며, 각 기하학적 작업에 대한 근거와 함께 단계별 지침을 생성합니다. 수직/각 이등분선, 평행선, 정다각형, 주어진 점, 선분 또는 각에서의 접선과 같은 작업을 처리합니다. 개발자는 이를 통해 검증 가능한 작도 단계를 생성하거나, 기하학적 작도 가능성을 확인하거나, 교육용 문서를 작성할 때 활용할 수 있습니다.

빠른 설치

Claude Code

추천
기본
npx skills add pjt222/agent-almanac -a claude-code
플러그인 명령대체
/plugin add https://github.com/pjt222/agent-almanac
Git 클론대체
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/construct-geometric-figure

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Construct a Geometric Figure

Produce ruler-and-compass construction for specified figure → doc every step w/ Euclidean justification + valid. result vs. original spec.

Use When

  • Given specific geometric elements (points, segments, angles) + asked to construct figure
  • Tasked w/ producing classical Euclidean construction (bisectors, perpendiculars, tangents)
  • Valid. whether figure constructible w/ straightedge + compass alone
  • Gen construction instructions for ed / docs
  • Convert geometric spec → ordered seq of primitive ops

In

  • Required: Desc of target figure (e.g., "equilateral triangle w/ side length AB")
  • Required: Given elements (points, segments, circles, angles as starting data)
  • Optional: Out format (narrative prose, numbered steps, pseudocode, SVG coords)
  • Optional: Justification detail level (terse, standard, rigorous w/ theorem citations)
  • Optional: Include impossibility analysis if not constructible

Do

Step 1: Identify Given Elements + Target Figure

Parse problem statement → extract:

  1. Given elements -- list every point, segment, angle, circle, length provided.
  2. Target figure -- state precisely what must be constructed.
  3. Constraints -- note additional conditions (congruence, parallelism, tangency, collinearity).

Express problem in standard form:

Given: Points A, B; segment AB; circle C1 centered at A with radius r.
Construct: Equilateral triangle ABC with AB as one side.
Constraints: C must lie on the same side of AB as point P (if specified).

Valid. all ref'd elements well-defined + consistent.

Clear, unambiguous restatement of construction problem w/ every given element cataloged + target figure precisely described.

If err: Problem statement ambiguous → list possible interpretations + req clarification. Given elements contradictory (e.g., triangle w/ side lengths 1, 1, 5) → state contradiction + halt.

Step 2: Verify Constructibility

Determine whether target can be constructed w/ straightedge + compass alone.

  1. Check algebraic constraints. Length constructible iff lies in field extension of rationals obtained by successive sqrt. Requires cube roots / transcendental ops → impossible.

  2. Known impossible constructions:

    • Trisecting general angle
    • Doubling cube (constructing cube root of 2)
    • Squaring circle (constructing sqrt(pi))
    • Regular n-gon when n ≠ product of power of 2 + distinct Fermat primes
  3. Known constructible ops:

    • Bisecting any angle / segment
    • Constructing perpendiculars + parallels
    • Transferring given length
    • Regular n-gons for n in {3, 4, 5, 6, 8, 10, 12, 15, 16, 17, 20, ...}
    • Any length expressible using +, -, *, /, sqrt over given lengths
  4. Doc verdict w/ justification.

Constructibility analysis:
- Target: equilateral triangle on segment AB
- Required operations: circle-circle intersection (two arcs of radius AB)
- Algebraic degree: 2 (quadratic extension)
- Verdict: CONSTRUCTIBLE

Definitive yes/no verdict on constructibility, w/ brief justification citing relevant algebraic / classical result.

If err: Constructibility uncertain → reduce problem to known constructible primitives. Provably non-constructible → doc impossibility proof + suggest closest constructible approximation or alt method (e.g., neusis construction, origami).

Step 3: Plan Construction Sequence

Decompose target figure → seq of primitive ops.

  1. Identify primitives needed. Every ruler-and-compass reduces to these atomic ops:

    • Draw line through two points
    • Draw circle w/ given center + radius (center + point on circumference)
    • Mark intersection of two lines
    • Mark intersection(s) of line + circle
    • Mark intersection(s) of two circles
  2. Order ops. Each op must ref only points already existing (given or prev constructed). Build dep graph:

Step 1: Draw circle C1 centered at A through B.       [uses: A, B]
Step 2: Draw circle C2 centered at B through A.       [uses: A, B]
Step 3: Mark intersections of C1 and C2 as P, Q.      [uses: C1, C2]
Step 4: Draw line through P and Q.                     [uses: P, Q]
  1. Minimize step count. Look for opportunities to combine ops or reuse prev constructed elements.

  2. Annotate each step w/ geometric purpose (e.g., "This constructs perpendicular bisector of AB").

Ordered list of primitive ops where each step depends only on prev est'd elements, covering all parts of target.

If err: Decomp stalls → ID which part of figure can't be reached from current set of constructed points. Revisit Step 2 to confirm constructibility, or introduce auxiliary constructions (helper circles, midpoints, reflections) to bridge gap.

Step 4: Execute Construction Steps w/ Justification

Write each construction step in full, providing Euclidean justification.

Each primitive op → doc:

  1. Op: what is drawn / marked.
  2. Ins: which existing elements used.
  3. Justification: which Euclidean proposition / theorem / property guarantees op produces claimed result.
  4. Out: what new elements created.

Format each step consistent:

Step 3: Mark intersections of C1 and C2 as P and Q.
  - Operation: Circle-circle intersection
  - Inputs: C1 (center A, radius AB), C2 (center B, radius BA)
  - Justification: Two circles with equal radii whose centers are separated
    by less than the sum of their radii intersect in exactly two points,
    symmetric about the line of centers (Euclid I.1).
  - Output: Points P and Q, where AP = BP = AB (equilateral property).

Continue until target fully constructed. Complex figures → group related steps into phases (e.g., "Phase 1: Construct auxiliary perpendicular bisector", "Phase 2: Locate incenter").

Complete seq of justified construction steps that, executed in order, produce target. Every new point, line, circle accounted for.

If err: Can't provide justification for step → step may be invalid. Valid. geometric claim independently. Common errs: assuming two circles intersect when they don't (check distance between centers vs. sum/diff of radii), or assuming point lies on line w/o proof.

Step 5: Verify Construction Meets Specification

Confirm constructed figure satisfies all original reqs.

  1. Check each constraint from Step 1 vs. constructed figure:

    • Congruence: verify equal lengths / angles via construction.
    • Parallelism/perpendicularity: confirm via construction method (e.g., perpendicular bisector guarantees 90 deg).
    • Incidence: verify req'd points lie on req'd lines / circles.
  2. Count degrees of freedom. Constructed figure should have exactly number of free params implied by spec. Extra dof → spec under-determined. None + construction fails → spec over-determined / contradictory.

  3. Test w/ specific coords (optional but rec'd for complex constructions):

Verification with coordinates:
Let A = (0, 0), B = (1, 0).
C1: x^2 + y^2 = 1
C2: (x-1)^2 + y^2 = 1
Intersection: x = 1/2, y = sqrt(3)/2
Triangle ABC: sides AB = BC = CA = 1. VERIFIED.
  1. Doc verification result w/ clear pass/fail each constraint.

Every constraint from original spec verified, construction confirmed correct. Coord check (when done) matches geometric argument.

If err: Constraint fails → trace back through construction → find erroneous step. Common causes: incorrect intersection choice (wrong branch of circle-line intersection), sign err in coord verification, or missing auxiliary construction.

Check

  • Problem restated in standard Given/Construct/Constraints form
  • Constructibility analysis w/ clear verdict + justification
  • Every construction step uses only prev est'd elements
  • Every step includes op, ins, justification, out
  • Justification cites relevant geometric principle (Euclid, theorem name, property)
  • Target fully constructed (no missing components)
  • All original constraints verified vs. completed construction
  • No step relies on measurement, approximation, or non-constructible ops
  • Step count reasonable for figure complexity

Traps

  • Assume intersection exists: Two circles only intersect if distance between centers between |r1 - r2| + r1 + r2. Always valid. this before marking intersection points. Forgetting → constructions work on paper but fail geometrically.

  • Wrong intersection branch: Circle-circle + line-circle intersections yield two points. Construction must specify which to use (e.g., "intersection on same side of AB as point P"). Ambiguous intersection choices → two valid but diff figures.

  • Conflate construction w/ measurement: Ruler-and-compass doesn't allow measuring lengths / angles. Can't "measure segment AB, mark off same length." Use compass to transfer radius by drawing circle centered at new point through old endpoint.

  • Skip constructibility check: Attempting to trisect general angle or construct regular heptagon wastes effort. Always valid. constructibility before beginning construction seq.

  • Over-complicated seqs: Many constructions have elegant short solutions. Construction exceeds 15 primitive steps for standard figure → look for simpler approach. Classic sources (Euclid, Hartshorne) often provide minimal constructions.

  • Implicit auxiliary elements: Failing to doc helper constructions (e.g., "extend line AB to point D") makes seq impossible to follow. Every element used must be explicit constructed.

  • solve-trigonometric-problem - trig analysis often motivates / verifies constructions
  • prove-geometric-theorem - constructions frequently appear as steps in geometric proofs
  • create-skill - follow when packaging new construction as reusable skill

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman-ultra/skills/construct-geometric-figure
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기