Skip to content

Add performance engineering skill.#233

Draft
jenskeiner wants to merge 4 commits into
developfrom
feature/perf-optimization-skill
Draft

Add performance engineering skill.#233
jenskeiner wants to merge 4 commits into
developfrom
feature/perf-optimization-skill

Conversation

@jenskeiner

@jenskeiner jenskeiner commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR adds a performance engineering skill in .claude/skills/nfft-perf-eng that provides coding agents like Claude Code with a systematic approach to optimizing performance and accuracy of a scoped code block.

The primary value of the skill is the systematic process that guides a coding agent through the optimization loop. At the beginning, performance and accuracy figures from benchmarks and tests are captured to provide an anchor to compare to. Before any code changes are accepted, the updated performance and accuracy figures are compare to the baseline to detect any regressions. The coding agent will systematically document each step taken and provide an HTML summary that can be used for human review.

Comment thread .claude/skills/nfft-perf-eng/scripts/perf-net.py Fixed
def cmd_check(args):
names = {c for c, _, _ in failing(args.log)}
if args.expect:
expected = {ln.strip() for ln in open(args.expect) if ln.strip()}
Comment thread .claude/skills/nfft-perf-eng/scripts/perf-summary.py Fixed
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Accuracy: 2360 cases unchanged.

📊 Full accuracy report

@jenskeiner jenskeiner changed the title Fix benchmarks mode. Add performance engineering skill. Jul 2, 2026
… conclude

Deliverables now live in a fixed, gitignored .perfeng/ (single static dir,
never committed) instead of docs/perfeng/NNNN-<slug>/; removed the committed
shared index. perf-init records the squash base in .perfeng/BASE.

Agents commit self-contained source units during the loop (Phase E), and a
new Phase G hands the run off: perf-conclude.sh squashes to one commit
(reset --soft <base>), then offers push + PR to develop labelled perf-eng;
package <N> renames .perfeng -> .perfeng-pr-<N> and builds a standard-ZIP
perfeng-pr-<N>.zip to attach. Post-conclude follow-ups re-package and
overwrite the archive in the existing PR comment.
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
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.

1 participant