Skip to content
Back to skills

Contextual Next

ASecurity

Use when the person says "build the next feature", "next feature", "keep building" or "continue the build", or names a planned feature to build. Picks the next feature from context/, builds it on its own feat/<name> branch, verifies it, records it in the context, and stops for review.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 17, 2026
ai-agentsgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add mikaelendale/contextual --skill contextual-next --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Contextual Next?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Contextual Next
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mikaelendale-contextual-next/badge)](https://www.skillsdirectory.com/skills/mikaelendale-contextual-next)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: contextual-next
description: Use when the person says "build the next feature", "next feature", "keep building" or "continue the build", or names a planned feature to build. Picks the next feature from context/, builds it on its own feat/<name> branch, verifies it, records it in the context, and stops for review.
license: MIT
---

# Build the next feature

If you haven't this session, do the start-of-session read in `AGENTS.md` first. `<cli>` below is the `cli` value in `context/.meta.json`.

## 1. Pick the feature

- On a `feat/<name>` branch: keep working on that feature. Its status file says where it stands. Don't start another one.
- On the default branch: take the feature the person named, or else the first unticked `- [ ] features/<folder>` in `context/build-plan.md`, reading phases in order, whose `depends-on` features are all shipped. If a named feature's dependencies aren't shipped, say so and ask.
- Nothing left to build: say so and stop.
- The working tree must be clean before you branch. If it isn't, ask the person what to do with the changes.

## 2. Start the branch

1. `git switch -c feat/<folder>` from the default branch.
2. Create `context/status/feat-<folder>.md` from [assets/status-branch.md](assets/status-branch.md).
3. Create the feature's `build.md`, `tests.md`, `notes.md` and `log.md` from this skill's `assets/feature-*.md`, as [references/feature-files.md](references/feature-files.md) describes. Fill `build.md` and `tests.md` with your plan before writing code.
4. If the feature's `covers:` says "not decided yet", decide its paths now, following `context/conventions.md`, and write them in. Then run `<cli> check` to make sure no other feature already owns them.
5. In the feature's `README.md`, set `status: in-progress`. In `context/build-plan.md`, set the phase's marker to `[in progress]` and put `← current` after the item.

## 3. Build it

- Work through the README's acceptance lines in order. Read the `stack/` and `design/` files that `build.md` links to before the code they cover.
- Before editing any file, run `<cli> which <path>` and follow the rule in `AGENTS.md`.
- Write a test for each acceptance line you can test in code, before or with the code. Follow `context/conventions.md`.
- Use only the packages and tools in `context/stack/`. Adding one, even for a one-off `npx` command, needs a record in `context/decisions/` first.
- Before you start, read the lines in `context/questions.md` (if it exists) that end `blocks <this feature>`. Ask the person the ones under "For the owner" and wait. Follow the ones under "Proposed by the agent" unless the person has said otherwise.
- When a product decision isn't clear, ask. Don't guess. Add the question to `context/questions.md` under "For the owner" (`blocks <this feature>`; create the file with the headings `# Open questions`, `## For the owner` and `## Proposed by the agent` if it's missing) and to "Blocked / needs a human" in the status file. When a question is answered, delete its line and write the answer where it belongs.
- When you choose between real alternatives, record it in `context/decisions/` from [assets/decision.md](assets/decision.md). When a library surprised you, add it to `context/stack/<lib>.md` from [assets/stack-lib.md](assets/stack-lib.md).

## 4. Verify it

Follow [references/verify.md](references/verify.md). Tick an acceptance box only after you've seen it work. If the task touched UI, run the checklist in `context/design/deslop.md` and record the result in one of its four forms. Never write `pass` for a screen you haven't seen.

## 5. Finish

1. Apply the definition of done in `AGENTS.md`: log entry, README, the other feature files, the status file, the deslop result.
2. Run `<cli> check --fix`, then fix what it reports until there are 0 errors.
3. Commit on the feature branch. Don't merge, and don't push unless the person asks.
4. Stop and report: what you built, how you verified it, what's left, and the questions waiting for the person. Merging is their decision. After the merge, "sync the context" on the default branch marks the feature shipped.

Files in this skill

  • SKILL.md4 KB
  • assets/decision.md421 B
  • assets/feature-build.md598 B
  • assets/feature-log.md452 B
  • assets/feature-notes.md402 B
  • assets/feature-tests.md653 B
  • assets/stack-lib.md449 B
  • assets/status-branch.md680 B
  • references/feature-files.md2.4 KB
  • references/verify.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.