implement
Skill14 starsChanged 57 days agoMIT-0View on GitHub
Implement code from an LLD spec using the current model. Reads the best LLD for a given problem, implements the code changes against the target repo, produces a unified diff, and captures detailed metrics (tokens, cache hits, wall-clock time, tool calls). Results go under benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/implementations/{model-name}/. Used to compare how well different self-hosted models translate a design into working code.
- Deletes or force-pushes
193 other projects use a version of this.
Adopted by
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- ofweb/skillstheir own version, first seen Oct 5, 2026
- roby2358/skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use setup-ts-deep-modules, ask-matt and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 17 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 36 projects that use this
AWSSkillto-spec
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
Also in 75 projects that use this
ArvorCoSkillspecify
Create feature specification from natural language description. Use when starting a new feature or creating a spec. Triggers on: create spec, specify feature, new feature spec.
Also in 12 projects that use this
qwlabsSkillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 18 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 22 projects that use this
- +5 more from aws
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- mattpocock/skills★ 335ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- huggingface/OpenEnv★ 2.6ksame name
- stevesolun/ctx★ 588same name
- nodetool-ai/nodetool★ 551same name
- aws/graph-explorer★ 484same name
- boshu2/agentops★ 447same name
- devcxl/mattpocock-skills-zh★ 426same name
- bighadj22/codflow★ 338same name
- ninehills/skills★ 280same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- benchmarkSkill
- onboard-benchmarkSkill
- release-notesSkill
- security-checkSkill
- setup-machineSkill
- summarizeSkill
- swe2Skill
- swe3Skill
- sweSkill
- throughputSkill
- vllm-setupSkill
- writingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 13 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when the user wants to benchmark how well the current model can implement code from an existing Low-Level Design (LLD) …
- Distinctive: line 32
Look at the system context for the active model id.
- Very specific: line 54
If spec.md doesn't exist yet, ask the user which model's LLD to use as the spec, then copy it:
- Very specific: line 77
Read spec.md in full. Pay attention to:
- Distinctive: line 84
Do NOT skip any section. The LLD is your complete specification.
- Distinctive: line 94
Test file locations and patterns
- Distinctive: line 102
Create new files as specified
- Distinctive: line 104
Follow the repo's existing code style exactly
- Distinctive: line 106
Do NOT add anything not in the LLD
- Distinctive: line 107
Do NOT skip anything in the LLD
- Distinctive: line 109
Write all changes directly into the target repo working tree (we'll diff later).
- Distinctive: line 111
Important: If the LLD references a dependency to install, note it but do NOT run package managers.
- Distinctive: line 117
After all code is written, generate a unified diff:
- Distinctive: line 167
Create the output directory and save all artifacts:
- Distinctive: line 185
After saving artifacts, present:
“Common” is measured: kept by at least 6 in 10 of the 175 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Implement Skill
Use this skill when the user wants to benchmark how well the current model can implement code from an existing Low-Level Design (LLD) document. The LLD is the spec — the model's job is to produce the actual code changes.
This skill writes code. It reads the LLD, explores the target repo, writes the implementation files, and produces a unified diff. It does NOT run tests, deploy, or open PRs.
Workflow
- Gather Inputs — Detect model, confirm problem, locate LLD and target repo
- Read the LLD — Parse the spec completely before writing any code
- Explore Target Repo — Understand current code structure relevant to the LLD
- Implement — Write all code changes described in the LLD
- Generate Diff — Produce a unified diff of all changes against the base
- Capture Metrics — Record timing, tokens, cache stats
- Save Artifacts — Write everything to the output directory
Step 1: Gather Inputs
1.0 Detect and confirm the model
Look at the system context for the active model id. Derive a kebab-case folder name:
qwen3.6-35b→qwen3.6-35bqwen3-coder-30b→qwen3-coder-30bus.anthropic.claude-opus-4-6-v1→claude-opus-4-6
Announce:
Implementing as
{model-name}. Confirm or override.
1.1 Confirm the problem
Ask:
Which problem? (e.g.
ssrf-hardening-outbound-url-validation)
Or accept if passed as parameter.
1.2 Locate the LLD
The LLD source is the best available lld.md for this problem. Look in:
benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/implementations/spec.mdIf spec.md doesn't exist yet, ask the user which model's LLD to use as the spec, then copy it:
benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/{source-model}/lld.md
→ benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/implementations/spec.md1.3 Locate the target repo
The target repo lives at:
benchmarks/swe-benchmark-data/{repo-name}/repo/Confirm it exists and check the git ref (should be clean, on main/tag).
1.4 Record start time
Note the wall-clock start time for metrics.
Step 2: Read the LLD
Read spec.md in full. Pay attention to:
- File Changes section — which files to create/modify
- Implementation Details — the actual logic described
- Data Models — new types, schemas, interfaces
- Configuration Parameters — new config/env vars
- Dependencies — new packages needed
Do NOT skip any section. The LLD is your complete specification.
Step 3: Explore Target Repo
Based on the File Changes section of the LLD, read the current state of every file that will be modified. Understand:
- Existing code patterns and style
- Import conventions
- Error handling patterns
- Test file locations and patterns
Step 4: Implement
Work through the LLD's File Changes section systematically:
- Create new files as specified
- Modify existing files per the LLD's instructions
- Follow the repo's existing code style exactly
- Include all imports, type annotations, error handling described in the LLD
- Do NOT add anything not in the LLD
- Do NOT skip anything in the LLD
Write all changes directly into the target repo working tree (we'll diff later).
Important: If the LLD references a dependency to install, note it but do NOT run package managers. Just write the code.
Step 5: Generate Diff
After all code is written, generate a unified diff:
cd benchmarks/swe-benchmark-data/{repo-name}/repo/
git diff > /tmp/implementation.patchSave the patch content. Then revert the working tree so the repo stays clean for the next model:
git checkout -- .
git clean -fdStep 6: Capture Metrics
Record in metrics.json:
{
"model": "{model-name}",
"problem": "{problem-name}",
"repo": "{repo-name}",
"instance_type": "g6e.12xlarge",
"instance_cost_per_hr": 10.49,
"wall_clock_seconds": null,
"task_cost_usd": null,
"input_tokens": null,
"output_tokens": null,
"thinking_tokens": null,
"cache_read_tokens": null,
"cache_write_tokens": null,
"tool_calls": null,
"files_created": [],
"files_modified": [],
"diff_lines_added": null,
"diff_lines_removed": null,
"errors": 0,
"timestamp": "{ISO 8601}"
}Note: Token counts and cache stats will be filled in post-run by the metrics extraction script from the session JSONL. Fill in what you can observe directly: wall_clock_seconds, files_created, files_modified, diff stats, errors, timestamp.
Step 7: Save Artifacts
Create the output directory and save all artifacts:
benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/implementations/{model-name}/
diff.patch ← the unified diff
metrics.json ← timing and stats
implementation.md ← brief notes on decisions made, deviations from LLD (if any)The implementation.md should be SHORT (under 20 lines):
- Files created/modified (list)
- Any places where the LLD was ambiguous and you made a judgment call
- Any parts of the LLD you could not implement and why
Summary Output
After saving artifacts, present:
## Implementation Complete
Model: {model-name}
Problem: {problem-name}
Files changed: {N} ({added} added, {modified} modified)
Diff: +{lines_added} -{lines_removed}
Wall clock: {seconds}s
Output: benchmarks/swe-benchmark-data/{repo-name}/{problem-name}/implementations/{model-name}/Rules
- Spec is law — implement exactly what the LLD says, no more, no less
- Match repo style — follow existing patterns for imports, naming, error handling
- Clean working tree — always revert the repo after generating the diff
- No test execution — write test files if the LLD specifies them, but don't run them
- No package installs — note dependencies but don't install them
- One model, one run — each implementation is independent, no knowledge of other models' output
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.

