Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Edit a docs page that already has an open pull request, or revise a page in place.
$ npx skills add langchain-ai/docs --skill docs-edit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install langchain-ai/docs docs-edit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs-edit .claude/skills/docs-edit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "docs-edit" agent skill from https://github.com/langchain-ai/docs/tree/main/.agents/skills/docs-edit into .claude/skills/docs-edit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-edit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/langchain-ai/docs/tree/main/.agents/skills/docs-editType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add langchain-ai/docs --skill docs-edit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install langchain-ai/docs docs-edit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/docs-edit .agents/skills/docs-edit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "docs-edit" agent skill from https://github.com/langchain-ai/docs/tree/main/.agents/skills/docs-edit into .agents/skills/docs-edit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-edit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langchain-ai/docs --skill docs-edit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install langchain-ai/docs docs-edit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/docs-edit .cursor/skills/docs-edit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "docs-edit" agent skill from https://github.com/langchain-ai/docs/tree/main/.agents/skills/docs-edit into .cursor/skills/docs-edit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-edit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/langchain-ai/docs.git --path .agents/skills/docs-edit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add langchain-ai/docs --skill docs-edit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install langchain-ai/docs docs-edit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/docs-edit .gemini/skills/docs-edit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "docs-edit" agent skill from https://github.com/langchain-ai/docs/tree/main/.agents/skills/docs-edit into .gemini/skills/docs-edit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-edit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install langchain-ai/docs docs-editInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add langchain-ai/docs --skill docs-edit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/docs-edit .github/skills/docs-edit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "docs-edit" agent skill from https://github.com/langchain-ai/docs/tree/main/.agents/skills/docs-edit into .github/skills/docs-edit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-edit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add langchain-ai/docs --skill docs-edit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install langchain-ai/docs docs-edit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/langchain-ai/docs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/docs-edit .opencode/skills/docs-edit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "docs-edit" agent skill from https://github.com/langchain-ai/docs/tree/main/.agents/skills/docs-edit into .opencode/skills/docs-edit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-edit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
docs-editEdit a docs page that already has an open pull request, or revise a page in place.
Docs Edit is an agent skill from langchain-ai/docs, published by the product's own GitHub organization. Edit a docs page that already has an open pull request, or revise a page in place. Covers checking out the PR's own branch instead of cutting a new one, forked cross-repository PRs, reading the real diff, checking the edit against related pages, and the verification to run before handing off. Use when asked to edit, revise, fix, or review changes on a named PR, branch, or existing page.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Pull requests. It works with Git. The repository describes itself as: Unified LangChain documentation. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit dcfc8b4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghmakeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
LANGSMITH_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Docs Edit loads about 1.9k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 998 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from langchain-ai/docs at commit dcfc8b4, republished under its MIT licence (© langchain-ai). 998 words, ~1,923 tokens.
.claude/skills/docs-edit/SKILL.md (or your agent's skills folder).The failure this skill prevents: an agent asked to "fix the wording on PR 1234" cuts a fresh branch, commits there, and opens a second pull request against a teammate's work. Land edits on the branch that already exists.
When the request names a PR, by number or URL, work on that PR's head branch.
gh pr view <n> --json number,title,headRefName,baseRefName,author,isCrossRepository,files
git status --porcelain # must be clean; stop and ask if it is not
git fetch origin <headRefName>
git checkout <headRefName> # tracks origin/<headRefName>Use plain git checkout <branch>. Do not use git checkout -b, --no-track,
or a worktree: each produces a net-new branch, and committing there opens a
second PR against someone else's work.
A local branch whose name merely mentions the PR is not the same branch. Confirm
that git rev-parse HEAD matches the headRefOid from gh pr view before
editing, and that the branch has an upstream:
git rev-parse --abbrev-ref @{upstream} # fails when the branch tracks nothingCut a new branch only when the edits are your own and no open PR exists to land
them on, or when the user asks for one. Branch from the latest origin/main,
never from a stale local main.
When isCrossRepository is true, the branch lives on a fork. Use gh pr checkout <n>, which configures the fork remote, and confirm push access before
committing. Without it, the edits are stranded locally.
gh pr diff <n>Prefer this over git diff main...HEAD. A stale local main silently inflates
that diff with unrelated commits, and a branch that already merged main once
inflates it further. To compare against the live base instead, fetch first and
use git diff origin/main...HEAD.
AGENTS.md holds the rules that apply to every edit: the style guide,
frontmatter, syntax, and the navigation map. Two that matter most here:
For voice and sentence rhythm while drafting, use the docs-team-voice skill. For
adding, moving, renaming, or deleting a page, including navigation and
redirects, use add-docs-page. When the edit is really a question of which page
the content belongs on, use docs-restructure.
A sibling docs page is not a source. It is another claim, written by someone who may have been guessing too, and two docs pages that agree can both be wrong. Check the implementation:
gh api -X GET search/code -f q='LANGSMITH_GATEWAY repo:langchain-ai/langchain' \
--jq '.total_count, (.items[]?|.path)'
gh api repos/langchain-ai/langchain/contents/<path> --jq .content | base64 -dPython and TypeScript live in separate repositories and drift apart, so a table
with a Python column and a TypeScript column needs both checked:
langchain-ai/langchain, langchain-ai/langchainjs, and for some providers a
dedicated repository such as langchain-ai/langchain-google. A package's
CHANGELOG.md gives the version a feature landed in, which is what a minimum
version column needs.
State plainly what you could not verify. "I could not confirm the Baseten row; no gateway references in either candidate repository" is a useful review note. Silently keeping an unverified claim is not.
A page is one of several that cover the same feature. Others reach it from another angle: a CLI reference, a permissions table, a list of Chat surfaces, a setup guide, the pages that link to it. An edit made to one page in isolation leaves the set contradicting itself.
Before editing, find the related pages:
grep -rliE "<feature name>|<page-slug>" src --include='*.mdx'
grep -n "<page-slug>" src/docs.jsonRead each one, then check for:
LANGSMITH_API_KEY while the CLI page recommends langsmith auth login.
Settle it against source, then fix whichever page is wrong.docs-restructure.A related page tells you what to check, not what is true. When two pages disagree, the source decides, as described in the section above.
Keep edits to related pages small: a cross-link, a corrected fact, or a short entry that points at the owner page. Anything larger is a restructure, so ask first.
These are written by a generator. Editing them looks like it works, then a scheduled run reverts it, and for the changelogs the edit has already gone out over RSS:
| File | Generated by |
|---|---|
src/langsmith/changelog.mdx | changelog-weekly skill, from langchainplus fragments |
src/langsmith/self-hosted-changelog.mdx | the helm changelog bot |
src/langsmith/langsmith-platform-openapi.json | .github/workflows/refresh-langsmith-openapi.yml |
src/langsmith/agent-server-openapi.json | PRs from the langgraph-api repository |
src/snippets/deepagents-eval-category-matrix.mdx | scripts/refresh_deepagents_category_matrix.py |
src/snippets/langsmith/mda-oauth-catalog.mdx | scripts/refresh_mda_oauth_catalog.py |
build/ | make build |
When one of these carries the problem you were asked to fix, fix the generator or the upstream source and say so. Do not edit the output.
Reviewers change their minds, and on a long thread they will ask for a format they previously rejected. Converting a table to a list and then back wastes a round and loses the reasoning both times.
When an instruction contradicts one you already applied, say so before applying it: name the earlier instruction, the change you made for it, and ask which to keep. Two reversals on the same element mean the requirement is unclear, not that the format is wrong.
make lint_prose FILES="<changed files>"Run make broken-links as well when links, page names, or navigation entries
changed. For a prose review against the style guide, use the docs-review
skill.
Say which branch the edits are on and whether it is the PR's own branch. Name the related pages you changed, and the ones you read and left alone. If anything could not be verified, list it. Do not push or force-push unless the user asks.
© langchain-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/docs-edit of langchain-ai/docs.
Open the folder on GitHubat commit dcfc8b4
Docs Edit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Docs Edit this skilllangchain-ai/docs | 425 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Understand Diff AnalysisEgonex-AI/Understand-Anything | 86k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Open Code Review CLIalibaba/open-code-review | 44k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Egonex-AI/Understand-Anything
Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
alibaba/open-code-review
Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
openinterpreter/openinterpreter
Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.
langchain-ai/docs
Add, move, rename, or delete a page on the LangChain docs site.
langchain-ai/docs
Build batteries-included agents with planning, context management, subagent delegation, and sandboxed execution.
langchain-ai/docs
A skill your agent uses when migrating inline code samples from LangChain docs (MDX files) into external, testable code files that are extracted by this repo’s snippet scripts and used as Mintlify…
langchain-ai/docs
Restructure documentation that spans several pages. An agent skill from langchain-ai/docs.
langchain-ai/docs
Write or revise documentation prose so it reads like the rest of this site, in the docs team's shared voice.
langchain-ai/docs
Build agents with a prebuilt architecture and integrations for any model or tool.
Works with
Categories
Edit a docs page that already has an open pull request, or revise a page in place. Docs Edit is an agent skill from langchain-ai/docs, published by the product's own GitHub organization. Edit a docs page that already has an open pull request, or revise a page in place.
Docs Edit fits situations like: review changes on a named PR; tasks that involve Pull requests.
Run `npx skills add langchain-ai/docs --skill docs-edit -a claude-code`. Or copy the skill folder (.agents/skills/docs-edit in langchain-ai/docs) into .claude/skills/docs-edit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add langchain-ai/docs --skill docs-edit -a codex`. Or copy the skill folder (.agents/skills/docs-edit in langchain-ai/docs) into .agents/skills/docs-edit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langchain-ai/docs --skill docs-edit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-edit, .gemini/skills/docs-edit, .github/skills/docs-edit and .opencode/skills/docs-edit in your project.
Going by SKILL.md and its folder, Docs Edit needs the command-line tools its instructions call (git, gh and make) and credentials named LANGSMITH_API_KEY. Our summary lists: Python 3; A credential in LANGSMITH_API_KEY.
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Docs Edit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Docs Edit: Finishing a Development Branch (obra/superpowers, 296k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Open Code Review CLI (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
langchain-ai (a GitHub organization, an official publisher) maintains it in langchain-ai/docs, which has 425 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.
Source: langchain-ai/docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.