/engineering:algorithm-selection-and-complexityfrom engineering
Guides selection, review, and explanation of algorithms under correctness, time, space, input-scale, and maintainability constraints. Produces decision records, edge-case matrices, and benchmarks.
Ships in engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Choose algorithms by the problem contract and operating constraints, then prove the choice with edge cases and measurements. This skill covers a small, production-relevant catalogue; it does not replace domain, language, or architecture review.
| Input | Required | Purpose |
|---|---|---|
| Problem statement and expected output | yes | Establish correctness and generality |
| Input shape, scale, and distribution | yes | Bound time and memory behaviour |
| Failure, freshness, and determinism constraints | conditional | Expose operational risks |
| Baseline implementation or brute-force comparator | conditional | Measure whether optimisation earns its complexity |
NOT ASSESSED record.| Category | Artifact | Format | Example |
|---|---|---|---|
| Correctness | Decision record | Markdown record: selected algorithm and rejected alternatives are traceable to constraints | docs/algorithms/pathfinding-decision.md |
| Correctness | Correctness matrix | Markdown matrix: edge and failure cases are covered or marked open | docs/algorithms/pathfinding-correctness.md |
| Performance | Benchmark record | Markdown record: inputs, environment, result, and threshold are retained | docs/algorithms/pathfinding-benchmark.md |
| Problem shape or constraint | Candidate route | Required caution |
|---|---|---|
| Stable matching between two preference lists | Gale-Shapley | Define proposer-side outcome and incomplete or tied preferences before implementation |
| Minimum-cost assignment between equal or rectangular sets | Hungarian algorithm | Confirm the cost matrix, forbidden assignments, and padding policy |
| Many pattern searches or rolling-hash-friendly text | Rabin-Karp | Verify hash hits with exact comparison; collisions are not matches |
| Pattern search over a stream that cannot be rewound | Knuth-Morris-Pratt | Test fallback-table construction and repeated-prefix cases |
| Long static text with a diverse alphabet | Horspool | Do not use its skip assumptions blindly on tiny alphabets or short patterns |
| Bounded value/capacity optimisation | Knapsack dynamic programming | State whether the problem is 0/1 or unbounded and bound the table size |
| Heuristic exploration of combinatorial paths | Ant colony optimisation | Define convergence, reproducibility, and a usable fallback; it is not an exact guarantee |
| All-pairs shortest paths on a manageable graph | Floyd-Warshall | Reject negative cycles and bound the cubic work before choosing it |
| Maximum flow through a capacity network | Push-relabel | Validate capacities, residual edges, and conservation invariants |
| Maximal cliques in a graph | Bron-Kerbosch | Expect output-sensitive growth; constrain graph size and result volume |
| Lowest-cost path with a useful heuristic | A* | For finite graphs with nonnegative costs and zero goal estimate, an admissible heuristic permits reopening improved states. Consistency on every edge guarantees that permanently closing a state is safe. |
| Cache with recency and frequency shifts | Adaptive replacement cache | Measure workload, memory overhead, and eviction stability against a simpler policy |
python-modern-standards or the relevant language skill for implementation and tests.system-architecture-design when the algorithm changes a service or data boundary.database-design-engineering when indexes or query plans are the real solution.advanced-testing-strategy for risk-scaled evidence and regression thresholds.Read and search are required. Execution is preferred for benchmarks and tests. Editing is allowed only within the authorised implementation scope.
Without representative inputs or execution, return the decision, assumptions,
complexity analysis, and an explicit NOT ASSESSED benchmark requirement.
examples/manifest-lookup/README.md (opens in a new tab)examples/manifest-lookup/manifest_lookup.py (opens in a new tab)examples/reopen_probe.py (opens in a new tab)examples/workshop/CONTRACT.md (opens in a new tab)examples/workshop/README.md (opens in a new tab)examples/workshop/TRANSFER-DECISIONS.md (opens in a new tab)examples/workshop/TRANSFER.md (opens in a new tab)examples/workshop/benchmark.py (opens in a new tab)examples/workshop/comparator/README.md (opens in a new tab)examples/workshop/comparator/cases.py (opens in a new tab)examples/workshop/comparator/compare.py (opens in a new tab)examples/workshop/comparator/reference.py (opens in a new tab)examples/workshop/phase_bench.py (opens in a new tab)examples/workshop/planner.py (opens in a new tab)examples/workshop/test_planner.py (opens in a new tab)examples/workshop/test_transfer.py (opens in a new tab)examples/workshop/transfer.py (opens in a new tab)references/algorithm-selection-matrix.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-dev-engine --plugin engineering169 skills in this plugin
/accounting-engineUse when designing or implementing double-entry accounting policy and an embedded ledger engine for invoices, payments, stock, balanced postings, mapped accounts, idempotency, reversals, period locks, audit trails, and financial statements./accounting-finance-controllerUse when coordinating accounting and finance implementation reviews, doctrine routing, control evidence, remediation priorities, and release decisions across a software system./advanced-testing-strategyUse when designing or reviewing test strategy for production systems, APIs, mobile apps, SaaS platforms, ERP workflows, and AI-enabled systems. Covers unit, integration, contract, end-to-end, regression, release-gate, and risk-based testing decisions.Other plugins' skills for the same job