Diff to sop
Never mind why the project looks ugly, just follow the SOP, step by step, complete similar tasks.
npx -y skills add lxedge/skills --skill diff-to-sopAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when you want to convert a git diff into a step-by-step SOP including modified files, functions, and minimal code blocks for future integrations
SKILL.md
1.4 KB, 299 tokens by cl100k_base, as published. Nobody here has run it
Diff to SOP Skill
Overview
Transform a git diff into a short, actionable SOP. Captures files, functions, and code blocks. Enables future integrators to follow changes without reading all source code.
When to Use
- After merging a new blockchain or service integration
- Want a reusable SOP for future integrations
- Do NOT use for generic diffs unrelated to operational steps
Core Pattern
- Extract Modified Files
- Identify all files with changes
- List file paths in the SOP
- Identify Changed Functions
- Parse diff hunks to detect modified/added functions
- Include function signatures in SOP
- Include Minimal Code Blocks
- For each modified function, include representative diff lines
- Keep code blocks short but enough to understand change
- Ignore
*.pb.gofiles - Ignore
Justfilefiles
- Step-by-Step SOP Structure
- Each step corresponds to a diff segment
- Include:
- Section title (what changed)
- Files affected
- Functions changed
- Minimal code block
Quick Reference Template
### <Step Name>
- Files modified:
\`\`\`text
<file_path>
\`\`\`
- Functions changed:
\`\`\`<language>
<function_signature>
\`\`\`
- Diff example:
\`\`\`diff
<diff_lines>
\`\`\`