Coding & Development✨gemini🌐universal
analyze-branching
.opencode/skills/analyze-branching/SKILL.md
Formally analyzes control-flow branchings, cyclomatic complexity, nesting depths, and branch redundancies across Python and TypeScript engine files.
Quick Start
Install this SKILL.md
npx skills add https://github.com/dealfluence/adeu/tree/main/.opencode/skills/analyze-branching--- name: analyze-branching description: Formally analyzes control-flow branchings, cyclomatic complexity, nesting depths, and branch redundancies across Python and TypeScript engine files. --- # Analyze Branching Skill This skill provides formal analysis of control-flow branchings, decision points, and nesting depth across the Python (`python/src/adeu/redline/engine.py`) and TypeScript (`node/packages/core/src/engine.ts`) engine implementations. ## Usage Run the engine branch checker script from repository root: ```bash uv run python scripts/check_engine_branches.py ``` Or analyze individual files: ### Python Analysis ```bash uv run python scripts/analyze_python_branches.py [path_to_file] ``` ### TypeScript Analysis ```bash node scripts/analyze_ts_branches.mjs [path_to_file] ``` ## Metrics - **Cyclomatic Complexity**: Counts decision nodes (`if`, `elif`/`else`, loops, exception handlers, logical boolean operators `and`/`or` / `&&`/`||`, conditional expressions). - **Max Depth**: Deepest nesting level of control flow structures inside a single function. - **Deep Nesting Warning**: Flags functions with branch nesting levels $\ge 6$.
Repository
168stars
26forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
🤖claude🌐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
🌐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
✨gemini🤖claude💬gpt🌐universal
524
34
View
misakanet-failure-memory
Coding & Development📚 A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
🤖claude⌨️cursor🌐universal
424
158
View