connectedness — скилл для Claude Code: топология и связность
Скилл connectedness для Claude Code с методами решения задач о связности топологических пространств.
MIT ★ 3 951 обновлён 2026-01-26
npx skills add parcadei/Continuous-Claude-v3 --skill connectedness -a claude-codeЧто делает connectedness
Скилл включает три основные стратегии: доказательство от противного (предположить разделение и вывести противоречие), анализ пути (показать, что между любыми двумя точками существует непрерывный путь), лемма о веере (объединение связных множеств с общей точкой связно). Работает с инструментами Bash и Read, использует команды для проверки разделений через Z3, вычисления явных путей через SymPy и применения теоремы о промежуточном значении.
В состав входят готовые команды: z3_solve.py prove "no_separation" для проверки отсутствия разделений, sympy_compute.py simplify "(1-t)*x + t*y" для построения выпуклых путей, z3_solve.py prove "intermediate_value" для применения ИТЗ. Скилл опирается на техники из классических учебников топологии и предполагает знакомство с основными понятиями связных пространств.
Какие задачи решает
- доказать связность топологического пространства
- найти непрерывный путь между двумя точками
- определить компоненты связности множества
- применить теорему о промежуточном значении
- показать, что объединение связных множеств связно
Примеры запросов агенту
- Проверь, что множество связно, предположив разделение и выведя противоречие
- Построй явный путь f(t) = (1-t)x + ty для выпуклого множества
- Упрости выражение пути командой
sympy_compute.py simplify "(1-t)*x + t*y"
Как установить connectedness
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill connectedness -a claude-code2Вручную: положить файлы
~/.claude/skills/connectedness/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/connectedness/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill connectedness -a codex2Вручную: положить файлы
.agents/skills/connectedness/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill connectedness -a cursor2Вручную: положить файлы
.cursor/skills/connectedness/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 .claude/skills/math/topology/connectedness2Вручную: положить файлы
.github/skills/connectedness/SKILL.md1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill connectedness -a gemini-cli2Командой платформы
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/math/topology/connectednessВручную: положить файлы
.devin/skills/connectedness/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о connectedness
Как установить connectedness в Claude Code?
Выполни команду npx skills add parcadei/Continuous-Claude-v3 --skill connectedness -a claude-code, затем открой ~/.claude/skills/connectedness/SKILL.md.
Что делает скилл connectedness?
Предлагает стратегии для решения задач о связности в топологии: доказательство от противного, построение путей и применение леммы о веере для объединения связных множеств.
Какие инструменты использует скилл?
Bash и Read. Для доказательств использует Z3, для вычисления путей — SymPy, для проверки промежуточных значений — теорему о промежуточном значении.
Исходный текст
SKILL.md · MIT
---
name: connectedness
description: "Problem-solving strategies for connectedness in topology"
allowed-tools: [Bash, Read]
---
# Connectedness
## When to Use
Use this skill when working on connectedness problems in topology.
## Decision Tree
1. **Is X connected?**
- Strategy 1 - Contradiction:
* Assume X = U union V where U, V are disjoint, non-empty, and open
* Derive a contradiction
- Strategy 2 - Path connectedness:
* Show for all x,y in X, exists continuous path f: [0,1] -> X with f(0)=x, f(1)=y
- Strategy 3 - Fan lemma:
* If {A_i} are connected sharing a common point, then union A_i is connected
2. **Connectedness Proofs**
- Show no separation exists
- `z3_solve.py prove "no_separation"`
- Use intermediate value theorem for R subsets
3. **Path Connectedness**
- Construct explicit path: f(t) = (1-t)x + ty for convex sets
- `sympy_compute.py simplify "(1-t)*x + t*y"` to verify path
4. **Components**
- Connected component: maximal connected subset containing x
- Path component: maximal path-connected subset containing x
## Tool Commands
### Z3_No_Separation
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "no_separation"
```
### Sympy_Path
```bash
uv run python -m runtime.harness scripts/sympy_compute.py simplify "(1-t)*x + t*y"
```
### Z3_Ivt
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "intermediate_value"
```
## Key Techniques
*From indexed textbooks:*
- [Introduction to Topological Manifolds... (Z-Library)] Connectedness One of the most important elementary facts about continuous functions is the intermediate value theorem: If f is a continuous real-valued function dened on a closed bounded interval [a, b], then f takes on every value be- tween f (a) and f (b). The key idea here is the “connectedness” of intervals. In this section we generalize this concept to topological spaces.
- [Topology (Munkres, James Raymond) (Z-Library)] A b× lb× cb×0π1(A)×0π1(A)×0 156ConnectednessandCompactnessCh. DenetheunitballBninRnbytheequationBn={x|x≤1},wherex=(x1,. Theunitballispathconnected;givenanytwopointsxandyofBn,thestraight-linepathf:[0,1]→Rndenedbyf(t)=(1−t)x+tyliesinBn.
- [Introduction to Topological Manifolds... (Z-Library)] Thanks are due also to Mary Sheetz, who did an excellent job producing some of the illustrations under the pressures of time and a nicky author. My debt to the authors of several other textbooks will be obvious to anyone who knows those books: William Massey’s Algebraic Topology: An Introduction [Mas89], Allan Sieradski’s An Introduction to Topology and Homotopy [Sie92], Glen Bredon’s Topology and Geometry, and James Munkres’s Topology: A First Course [Mun75] and Elements of Algebraic Topology [Mun84] are foremost among them. Finally, I would like to thank my wife, Pm, for her forbearance and unagging support while I was spending far too much time with this book Preface and far too little with the family; without her help I unquestionably could not have done it.
- [Topology (Munkres, James Raymond) (Z-Library)] TheunionofacollectionofconnectedsubspacesofXthathaveapointincommonisconnected. Let{Aα}beacollectionofconnectedsubspacesofaspaceX;letpbeapointofAα. WeprovethatthespaceY=Aαisconnected.
- [Introduction to Topological Manifolds... (Z-Library)] Conversely, if X is disconnected, we can write X = U ∪ V where U and V are nonempty, open, and disjoint. This implies that U is open, closed, not empty, and not equal to X. Main Theorem on Connectedness).
## Cognitive Tools Reference
See `.claude/skills/math-mode/SKILL.md` for full tool documentation.
© parcadei · MIT · parcadei/Continuous-Claude-v3