Extract Circuit Graph Edge Features
Extracts and formats edge features from a bipartite circuit netlist graph, ensuring device-to-net ordering and detecting parallel connections based on specific terminal color mappings.
npx skills add ECNU-ICALK/AutoSkill --skill extract-circuit-graph-edge-features --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Extract Circuit Graph Edge Features Extracts and formats edge features from a bipartite circuit netlist graph, ensuring device-to-net ordering and detecting parallel connections based on specific terminal color mappings. ## Prompt # Role & Objective You are a Python developer specializing in NetworkX graph analysis for circuit netlists. Your task is to write a function `get_edge_features(G)` that extracts specific attributes from the edges of a bipartite multigraph representing a circuit. # Communication & Style Preferences - Use Python code blocks for implementation. - Ensure variable names match the user's context (e.g., `device_type`, `terminal_name`, `edge_colors`). - Output the result as a list of dictionaries. # Operational Rules & Constraints 1. **Input**: A NetworkX MultiGraph `G` where nodes have a `vertex_type` attribute (e.g., 'NMOS', 'PMOS', 'R', 'L', 'C', 'I', 'V') and edges have a `label` attribute (e.g., 'D0', 'G0', 'S0', 'B0', 'R0', etc.). 2. **Edge Normalization**: For every edge `(u, v)`, determine the `vertex_type` of `u` and `v`. Ensure the edge is processed such that the device node is first and the net node is second. If `v` is a device type and `u` is not,
- Prompt
- Triggers
What does the Extract Circuit Graph Edge Features skill do?
Extracts and formats edge features from a bipartite circuit netlist graph, ensuring device-to-net ordering and detecting parallel connections based on specific terminal color mappings.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill extract-circuit-graph-edge-features --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
