new-feature

Detects Git branch context and recalls prior decisions before brainstorming new features in worktrees.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/AndreJorgeLopes/devflow --skill new-feature-andrejorgelopes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-feature
Source: https://github.com/AndreJorgeLopes/devflow/tree/main/skills/new-feature
Command: npx skills add https://github.com/AndreJorgeLopes/devflow --skill new-feature-andrejorgelopes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents coding-agent amnesia after a worktree launch by quickly detecting the feature context, recalling relevant prior decisions, and steering you into a structured brainstorming phase before any code changes.

Core Features & Use Cases

  • Context detection for existing feature worktrees: Reads the current branch, base branch, project name, and optional ticket ID, and safely exits when you’re on main/master.
  • Targeted Hindsight memory recall: Queries Hindsight using project + domain cues and ticket namespaces to surface relevant patterns and gotchas for the work area.
  • Guided transition into brainstorming: Presents a clear workspace summary, prompts you to confirm understanding, optionally triggers a codebase walkthrough, and then hands off to devflow’s brainstorming pipeline.

Quick Start

Run devflow inside your already-created feature worktree and let it detect your branch and ticket, recall relevant memories, and move you into brainstorming with phase handoffs.

Frequently Asked Questions about new-feature

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent coding agent amnesia when starting feature planning in a git worktree?

To prevent coding agent amnesia during feature planning, this Skill orients worktree sessions by detecting branch context and recalling prior decisions before code changes begin. It queries Hindsight memory using project and ticket cues to surface relevant patterns.

How does context detection work for ticket-driven workflows in git worktrees?

Context detection for ticket-driven workflows reads the current branch, base branch, project name, and optional ticket ID. It safely exits when you are on main or master, ensuring feature planning only activates in isolated worktree branches.

Can I use this for codebase walkthroughs before starting a new feature?

Yes, you can use this for codebase walkthroughs before starting a new feature. After presenting a workspace summary and prompting confirmation, it optionally triggers a codebase walkthrough before handing off to the brainstorming workflow.

Does this Skill work on the main branch or require a dedicated feature worktree?

This Skill requires a dedicated feature worktree and will safely exit if you are on the main or master branch. YAML-anchored instructions enforce worktree-only behavior, preventing accidental context detection on primary branches.

What is the best way to transition into brainstorming after recalling past project decisions?

The best way to transition into brainstorming is through a guided handoff. The Skill presents a workspace summary, confirms your understanding of recalled memories, and then transfers directly into the devflow brainstorming pipeline.