agentleFS
AWSKnown publisherawslabs/do-agent-aws/Container-Root/agent/skills/technique-versioning-workflow/SKILL.md

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.

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
  1. Distinctive:

    Create v(N+1) when:

    line 23
  2. Distinctive:

    Never overwrite the previous version.

    line 30
  3. Distinctive:

    Read previous version's Performance Analysis and Next Iteration sections

    line 71
  4. Very specific:

    Create T{N}_{name}_v{V+1}.md in the same techniques/ directory

    line 72
  5. Very specific:

    Add Supersedes: v{V} in the header

    line 73
  6. Distinctive:

    When a technique interacts with other layers, add after Trade-offs:

    line 80
  7. Distinctive:

    After creating or updating any technique file:

    line 91
  8. Distinctive:

    Update the directory tree to include the new file

    line 93
  9. Distinctive:

    Update the completion table (count and percentage)

    line 94
  10. Distinctive:

    Update "Next Actions" if priorities changed

    line 96
  11. Very specific:

    Skipping baseline: Every v1 must reference baseline/ANALYSIS.md numbers.

    line 101
  12. Distinctive:

    Not linking related techniques: If L1 coalescing affects L3 doorbell count, both files must cross-reference.

    line 102
  13. Distinctive:

    Forgetting compile guards: Every technique must be toggleable for rollback.

    line 104

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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}.md

N: 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:

  1. Measurement shows issues -- profiling revealed gaps (e.g., missing receiver unpacking)
  2. Integration conflicts -- technique breaks assumptions in another layer
  3. Performance target not met -- improvement exists but falls short of phase goal
  4. 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

  1. Read previous version's Performance Analysis and Next Iteration sections
  2. Create T{N}_{name}_v{V+1}.md in the same techniques/ directory
  3. Add Supersedes: v{V} in the header
  4. In section 1, reference specific prior measurements that motivated the change
  5. In section 3, include a column comparing against the previous version
  6. 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**: None

MASTER_INDEX.md Update Protocol

After creating or updating any technique file:

  1. Update the directory tree to include the new file
  2. Update the completion table (count and percentage)
  3. Mark the latest version with "NEW" or "CURRENT"
  4. 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 -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.