branch-context-from-plan
Use when a user explicitly wants to create an implementation branch from a saved plan and attach its branch context as a named Markdown key — "from plan"…
Skill by nseng-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nseng-ai-branch-context-from-plan
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/branch-context-from-plan
What's inside
- Skill name
branch-context-from-plan- Description
- Use when a user explicitly wants to create an implementation branch from a saved plan and attach its branch context as a named Markdown key — "from plan", "branch this saved plan" — or to continue a Pi `/ns:branch-context:from-plan` handoff.
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/lifecycle.md
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# branch-context-from-plan Resolve a saved plan, create the target branch, and attach a named Markdown plan key as branch context in Branch Memory. Part of the branch-context family — load the `branch-context` umbrella for the shared lifecycle, storage, and safety model. ## Commands Resolve the saved plan when needed: ```bash enriched-plan exec resolve [absolute-or-home-plan-file.md] --format json ``` Create and attach: ```bash ns branch-context exec from-plan \ --slug <branch-context-slug> \ --plan-file <absolute-or-home-plan-file.md> \ [--branch <target-branch>] \ [--branch-creation plain-git|graphite] \ [--summary "<one sentence>"] \ --format json ``` ## Workflow 1. Resolve the saved plan first if a path is given or none is known. 2. Derive `<branch-context-slug>` from plan content: kebab-case, 3-7 specific words, no dates/random IDs/generic-only names. This drives the default target branch and the attached-plan key `<branch-context-slug>.md`. 3. Choose the branch creation method before invoking `ns branch-context exec from-plan`. In this repo, include `--branch-creation graphite` unless the user explicitly requested plain Git. For precedence and Graphite method details, see the `branch-context` umbrella's `references/lifecycle.md` (`## Branch creation policy`). 4. Pass `--branch` only when the user requested a specific target branch. 5. Parse the standard Clinkr JSON envelope and report `data.branch`, `data.branchCreation`, `data.namespace`, `data.key`, `data.refName`, `data.commit`, `data.sourceFile`, and `data.slug`. ## Recovery - No saved plan: run the write-plan workflow first, or provide an absolute/home-relative `.md` path. - Slug rejected: derive a clearer 3-7 word slug and retry once before asking. - Target branch exists: stop; ask whether to choose another `--branch` or inspect the existing branch. - Branch Memory entry exists: do not overwrite; report namespace/key and ask. - Graphite setup fails after branch creation: report the partial branch state; do not attach a plan manually unless the user explicitly directs recovery.
From nseng-ai/ns, MIT.
More from nseng-ai/ns
- 0.557score
branch-context-impl
nseng-ai
Use when a user explicitly wants to implement from an attached branch-context plan on the current branch — "implement the branch context", "load the attached…
SkillBFreshness: B★ 2Claude Code +9 - 0.537score
diagnosing-bugs
nseng-ai
Diagnosis loop for hard bugs and performance regressions.
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
pocock-review
nseng-ai
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
domain-modeling
nseng-ai
Build and sharpen a project's domain model.
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
codebase-design
nseng-ai
Shared vocabulary for designing deep modules.
SkillBFreshness: B★ 2Claude Code +9 - 0.531score
writing-for-agents
nseng-ai
Writing documents for agents.
SkillBFreshness: B★ 2Claude Code +9 - 0.529score
wayfinder
nseng-ai
Plan a huge chunk of work — more than one agent session can hold — as a shared map of decision tickets on your issue tracker, and resolve them one at a time…
SkillBFreshness: B★ 2Claude Code +9 - 0.529score
improve-codebase-architecture
nseng-ai
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillBFreshness: B★ 2Claude Code +9 - 0.527score
grilling
nseng-ai
Grill the user relentlessly about a plan, decision, or idea.
SkillBFreshness: B★ 2Claude Code +9 - 0.507score
fdt-refactor-mock-to-fake
nseng-ai
Refactor tests that use unittest.mock.patch or MagicMock into erk's gateway-based fake pattern.
SkillCFreshness: C★ 2Claude Code +9 - 0.476score
pocock-resolving-merge-conflicts
nseng-ai
Use when you need to resolve an in-progress git merge/rebase conflict.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 4
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nseng-ai/ns
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nseng-ai
- 0.557score
branch-context-impl
nseng-ai
Use when a user explicitly wants to implement from an attached branch-context plan on the current branch — "implement the branch context", "load the attached…
SkillBFreshness: B★ 2Claude Code +9 - 0.537score
diagnosing-bugs
nseng-ai
Diagnosis loop for hard bugs and performance regressions.
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
pocock-review
nseng-ai
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
domain-modeling
nseng-ai
Build and sharpen a project's domain model.
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
codebase-design
nseng-ai
Shared vocabulary for designing deep modules.
SkillBFreshness: B★ 2Claude Code +9 - 0.531score
writing-for-agents
nseng-ai
Writing documents for agents.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
branch-context-from-plan skill. Agent Mart. https://agentmart.dev/skills/nseng-ai-branch-context-from-plan (last updated 2026-10-24)