# `techne:reslop`

Rewrite docstrings and comments grounded in the actual implementation, call sites, and tests. Produces factual one-or-two-line descriptions instead of marketing prose or signature restatements.

Part of [techne](<https://ajbarea.github.io/techne/plugins/techne/index.md>): `/plugin install techne@techne`, then `/techne:setup`.

## When to use

- A docstring is inaccurate, overhyped, or hallucinates behavior the code doesn't have.
- After a major refactor: regenerate docstrings to match the new implementation.
- "Rewrite the docstrings in my pending changes" / "Replace AI-generated docs with what the code actually does."
- When `/techne:deslop` flags a docstring and the answer is better prose, not deletion.

## Usage

Invoke by name in Claude Code:

```text
/techne:reslop
```

Default scope is the files the user named, or pending-change files. The skill reads each target's implementation, call sites, and tests, then presents old-to-new diffs and asks `apply all / apply selected / skip?` `--apply` skips the prompt.

## See also

- [`techne:deslop`](<https://ajbarea.github.io/techne/skills/deslop/index.md>): identify and delete low-value prose; hand off to reslop when a replacement is needed.
- [`techne:docsync`](<https://ajbarea.github.io/techne/skills/docsync/index.md>): verify factual claims in docs after a reslop pass.
- [Conventions](<https://ajbarea.github.io/techne/conventions/#section-reference>): `## slop_ground_truth` section in `.claude/skill-context.md` for grounding numeric claims.

## Full instructions

[`SKILL.md` on GitHub](<https://github.com/ajbarea/techne/blob/main/plugins/techne/skills/reslop/SKILL.md>) holds the full instructions Claude follows for this skill.
