Skip to content

feat(skills): add perf skill and plugin manifest - #15

Merged
ms-shashank merged 1 commit into
Oxcode-ai:mainfrom
h30s:feat/perf-skill
Aug 24, 2026
Merged

feat(skills): add perf skill and plugin manifest#15
ms-shashank merged 1 commit into
Oxcode-ai:mainfrom
h30s:feat/perf-skill

Conversation

@h30s

@h30s h30s commented Aug 24, 2026

Copy link
Copy Markdown
Member

Closes #8

Summary

Adds the perf skill and plugin manifest enforcing benchmarked numbers, baseline commands, paired after measurements, and input scale boundaries.

What task was tested

Tested on optimizing batch order tax calculation ($N = 5,000$).

  • Without skill: The model defaulted to speculative code cleanups and asserted "this should be faster" without running benchmarks or profiling.

  • With skill: The model refused to optimize without baseline numbers, identified the N+1 dictionary lookup bottleneck via profiling, recorded paired before/after measurements (142.6 ms -> 18.2 ms, 7.8x speedup), stated the input size where the result holds ($N = 5,000$), and noted trade-offs for $N = 1$.

Deliberately left out

  • Automatic rewriting of micro-optimizations (e.g. loops vs list comprehensions) unless verified by profile traces.

  • Guessing performance improvements when benchmarks or databases are unavailable.

Tools matching

tools: full matches the active profiling, benchmarking, and code editing operations required by the skill's method.

@h30s
h30s requested a review from ms-shashank August 24, 2026 13:03
@ms-shashank
ms-shashank merged commit 208e2ef into Oxcode-ai:main Aug 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New skill: perf, numbers or nothing

2 participants