feat(skills): add local python-to-c-efficiency skill with modular C scaffold

add local Codex skill for Python->C performance-focused translation

define modular C architecture and benchmark/correctness gates

add references for patterns, profiling, and module design

add scaffold_c_module.py to generate include/src/tests/bench skeleton

update agent default prompt for benchmark-backed optimizations
This commit is contained in:
2026-03-30 00:08:14 +02:00
parent 3ea99d84f4
commit 9a0a170799
6 changed files with 506 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
interface:
display_name: "Python to C Efficiency"
short_description: "Translate Python into efficient C code"
default_prompt: "Use $python-to-c-efficiency to convert this Python hotspot into modular C (include/src/tests/bench) and provide benchmark-backed optimizations."