technique-versioning-workflow
Skill3 starsChanged 2 days agoApache-2.0View on GitHub
Use when iterating on performance optimization techniques within a layer and you need to version, compare, and evolve approaches based on measurement results. Covers naming, file templates, version transitions, and index updates.
In this repository37 other files it gives its agents.
- docs/manual/agents.mdAGENTS.md
- ablate-combined-changesSkill
- agent-supervisor-methodologySkill
- benchmark-comparisonSkill
- browser-vlm-acceptanceSkill
- claim-verificationSkill
- claude-code-best-practicesSkill
- code-attributionSkill
- comms-connectSkill
- condition-based-waitingSkill
- conference-intelligenceSkill
- deep-research-methodologySkill
- defense-in-depthSkill
- detect-deployment-thrashingSkill
- directory-cross-examinationSkill
- doc-freshness-auditorSkill
- eval-harnessSkill
- github-comment-managerSkill
- github-deep-researchSkill
- github-issue-responseSkill
- harness-setupSkill
- issue-closure-strategistSkill
- issue-quality-assessmentSkill
- k8s-configmap-runtime-patchSkill
- k8s-config-persistence-trapSkill
- maintainer-profilingSkill
- measure-before-theorizeSkill
- multi-phase-optimization-campaignSkill
- phase-trackerSkill
- pptx-slide-creationSkill
- pr-issue-scannerSkill
- public-root-reproducibilitySkill
- repo-organizerSkill
- root-cause-tracingSkill
- wrong-layer-debuggingSkill
- wrong-theory-cascade-preventionSkill
- youtube-transcriberSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Create v(N+1) when:
- Distinctive: line 30
Never overwrite the previous version.
- Distinctive: line 71
Read previous version's Performance Analysis and Next Iteration sections
- Very specific: line 72
Create T{N}_{name}_v{V+1}.md in the same techniques/ directory
- Very specific: line 73
Add Supersedes: v{V} in the header
- Distinctive: line 80
When a technique interacts with other layers, add after Trade-offs:
- Distinctive: line 91
After creating or updating any technique file:
- Distinctive: line 93
Update the directory tree to include the new file
- Distinctive: line 94
Update the completion table (count and percentage)
- Distinctive: line 96
Update "Next Actions" if priorities changed
- Very specific: line 101
Skipping baseline: Every v1 must reference baseline/ANALYSIS.md numbers.
- Distinctive: line 102
Not linking related techniques: If L1 coalescing affects L3 doorbell count, both files must cross-reference.
- Distinctive: line 104
Forgetting compile guards: Every technique must be toggleable for rollback.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Technique Versioning Workflow
Systematic versioning for optimization techniques within a layered analysis framework. Each technique evolves through measured iterations (v1, v2, v3...) where each version addresses gaps the previous version's results revealed.
Naming Convention
T{N}_{descriptive_name}_v{version}.mdN: technique number (sequential within layer). descriptive_name: snake-case. version: integer from 1.
Examples: T1_coalescing_v1.md, T1_coalescing_v2.md, T2_doorbell_batching_v1.md
When to Create a New Version
Create v(N+1) when:
- Measurement shows issues -- profiling revealed gaps (e.g., missing receiver unpacking)
- Integration conflicts -- technique breaks assumptions in another layer
- Performance target not met -- improvement exists but falls short of phase goal
- New API discovered -- enables a fundamentally better approach (e.g., put-signal eliminated all fences in v3)
Never overwrite the previous version. The old file is the evidence trail.
Technique File Template (6 Required Sections)
# T{N} {Name} v{V}
**Status**: DRAFT | CODE READY | VALIDATED
**Date**: YYYY-MM-DD
**Layer**: L{X}
**Supersedes**: v{V-1} (if applicable)
## 1. Problem Statement
What bottleneck this addresses. Reference baseline measurements.
## 2. Implementation
Before/after code. Include compile guards:
#ifdef USE_TECHNIQUE_NAME
optimized_path();
#else
baseline_path();
#endif
## 3. Performance Analysis
| Metric | Baseline | This Version | Previous Version |
|---------|----------|--------------|------------------|
| Latency | | | |
| Calls | | | |
## 4. Trade-offs
Pros, cons, memory cost, compatibility constraints.
## 5. Validation Plan
Correctness check, benchmark config, success criteria.
## 6. Next Iteration
What v(N+1) would address. Leave blank if final.Version Transition Protocol
- Read previous version's Performance Analysis and Next Iteration sections
- Create
T{N}_{name}_v{V+1}.mdin the sametechniques/directory - Add
Supersedes: v{V}in the header - In section 1, reference specific prior measurements that motivated the change
- In section 3, include a column comparing against the previous version
- Update MASTER_INDEX.md
Cross-Layer References
When a technique interacts with other layers, add after Trade-offs:
### Cross-Layer Dependencies
- **Enables**: L5 T1_fi_more_batching (fewer ops to batch)
- **Requires**: L3 T2_doorbell_coalescing (for full benefit)
- **Conflicts**: NoneMASTER_INDEX.md Update Protocol
After creating or updating any technique file:
- Update the directory tree to include the new file
- Update the completion table (count and percentage)
- Mark the latest version with "NEW" or "CURRENT"
- Update "Next Actions" if priorities changed
Common Mistakes
- Overwriting v1: Destroys the evidence trail. Always create a new file.
- Skipping baseline: Every v1 must reference baseline/ANALYSIS.md numbers.
- Not linking related techniques: If L1 coalescing affects L3 doorbell count, both files must cross-reference.
- Mixing layer concerns: One technique file per layer. Span layers with linked files.
- Forgetting compile guards: Every technique must be toggleable for rollback.
<!-- imported on 2026-10-31 by tools/import-skills.py from a native Claude Code instance's skill library; the source site's names, ids, hosts and paths are scrubbed to <placeholders>; its other files were not copied -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

