feature
Stage 2 - Initialize a new feature development workflow (Discovery & Validation)
Skill by sapientcoffee
Chalk Labs
Need help deploying feature?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/sapientcoffee-feature
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: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
feature- Description
- Stage 2 - Initialize a new feature development workflow (Discovery & Validation)
- License
- Apache-2.0
- Instructions
- 92 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Skill: Feature Discovery & Validation (Stage 2)
## Objective
Your goal is to act as the **Orchestration Engine** to initiate a new feature development workflow. You must capture the user's intent, clarify any ambiguities through Socratic alignment (`grill`), and establish the foundational `02_PRD.md` and unified master `visual-dashboard.html` artifacts with enterprise-grade rigor across clear execution gates.
## Core Mandate
- **Project Structure:** All artifacts MUST be stored in `plans/<feature-slug>/<YYYY-MM-DD_HHMM>/`.
- **Naming:** Use the feature name as the slug for the directory.
- **Verification & Interactivity:** You MUST use the `ask_question` tool (or direct interactive text questions) for ALL clarification questions.
- **Strict Execution Barrier:** You MUST NOT generate `02_PRD.md` in the initial turn. You MUST conduct the Socratic grilling phase first, present targeted clarifying questions, and **STOP execution** to await user answers.
- **Protocol:** Do NOT move to Stage 3 (Extraction/Research) until the user has explicitly approved the PRD.
- **Enterprise Standards:** You must explicitly address Non-Functional Requirements (NFRs) and Security Posture from the start.
## Instructions
### Step 1: Initialize & Resolve Context Directory
1. **Analyze Request & Passed Files:** Check if the user passed an explicit file path (e.g., `plans/<feature-slug>/<timestamp>/00_IDEATION.md`). If so, extract and REUSE that exact directory.
2. **Slugify Feature Name:** Determine the URL-friendly feature slug (e.g., "coffee-mood-app").
3. **Reuse Existing Plan Directory First:**
- Check if an existing plan directory already exists under `plans/<feature-slug>/`.
- If one or more timestamped directories exist (e.g., `plans/<feature-slug>/2026-08-05_1527/`), **REUSE the most recent existing plan directory**. Do NOT create a new timestamp directory when `ideator` or a prior stage was already run!
- Preserve all existing files (`00_IDEATION.md`, `visual-dashboard.html`) in that directory and add new stage outputs (`02_PRD.md`, `03_EXTRACTION.md`, etc.) to it.
4. **Create New Directory (Fallback Only):** ONLY if no existing plan directory for `<feature-slug>` exists under `plans/`, run `date +%Y-%m-%d_%H%M` and create `plans/<feature-slug>/<timestamp>`.
### Step 2: Phase 1 — Socratic Alignment (`grill`)
1. **Execute Grill Skill (Stage 1 Socratic Alignment):** Call and execute the `grill` skill logic to conduct an interactive Socratic alignment session:
- Read any pre-generated `00_IDEATION.md` to prime and guide the session.
- Identify ambiguous requirements, edge cases, customer user journeys (CUJs), and Google Cloud Well-Architected pillars (Reliability, Security, Cost Optimization, Operational Excellence, Performance Efficiency).
- Formulate **3 to 5 targeted Socratic questions** focusing on unspecified boundaries, NFRs, and domain terminology.
- Use the `ask_question` tool (or direct interactive output) to present these questions clearly to the user.
- Document initial domain terms in `docs/glossary.md` and decisions in `docs/adr/`.
- Generate or update the master `visual-dashboard.html` in `plans/<feature-slug>/<timestamp>/visual-dashboard.html` via `python3 scripts/manage_dashboard.py ensure --plan-dir "plans/<feature-slug>/<timestamp>" --moniker "<feature-slug>"`.
- Mirror the dashboard to system artifacts via `python3 scripts/manage_dashboard.py mirror --plan-dir "plans/<feature-slug>/<timestamp>"`.
2. 🛑 **HARD STOP (EXECUTION BARRIER)**: Stop calling tools and end your turn immediately after asking the grilling questions. **DO NOT** draft `02_PRD.md` or proceed to Stage 2 until the user responds to your questions!
### Step 3: Phase 2 — PRD Generation & Gating (After User Response)
1. **Incorporate Feedback:** Once the user provides answers to the Socratic grilling questions, update `docs/glossary.md` and `docs/adr/` accordingly.
2. **Draft Artifact:** Create `plans/<feature-slug>/<timestamp>/02_PRD.md` using the standard AI-Native PRD template:
```markdown
# 02 PRD: <Feature Name>
## Objective
[High-level summary of the feature's goal]
## User Stories
- **As a [Role]**, I want [Goal], so that [Value].
## Phased Execution
- [Phase 1: ...]
- [Phase 2: ...]
## Non-Goals
- [Hard boundary 1]
- [Hard boundary 2]
## Evals & Metrics
- [Metric 1: e.g. Performance < 200ms]
- [Metric 2: e.g. Test coverage > 80%]
## Non-Functional Requirements (NFRs) - Google Cloud Well-Architected Framework
- **Reliability:** [e.g. self-healing, backup plans, and rate-limiting limits]
- **Security:** [e.g. IAM least-privilege scope, data encryption in transit and at rest]
- **Cost Optimization:** [e.g. resource right-sizing rules, cleanup triggers, and retention policies]
- **Performance Efficiency:** [e.g. database indexing requirements, caching rules, and autoscaling thresholds]
- **Operational Excellence (Deployment & DevOps):** [e.g. CI/CD flow, Terraform Infrastructure-as-Code, progressive rollout style like canary/blue-green/rolling]
- **Compliance:** [e.g. SOC2, GDPR]
- **Accessibility:** [e.g. WCAG 2.1 AA]
- **Data Residency:** [e.g. EU-West-1 only]
## Security Posture
- [Security Assumption 1]
- [Threat Vector Mitigation 1 (e.g. Cloud Secret Manager integration)]
## SRE Integration & Observability (SLIs/SLOs)
- **Structured Logging:** [e.g. Google Cloud Logging standard JSON output format]
- **Instrumentation & Metrics:** [e.g. Cloud Monitoring customs/standard metrics, Cloud Trace integration]
- **SLI 1:** [e.g. Latency of GET /api/v1/resource < 200ms for 95% of requests]
- **SLI 2:** [e.g. Availability of POST /api/v1/resource > 99.9%]
- **Error Budget Policy:** [e.g. Actions taken if error budget is depleted]
- **Runbooks & SOPs:** [e.g. References to standard recovery playbooks for known failure modes]
```
3. **Compile Visual PRD & Synchronize Dashboard (`visual-dashboard.html`)**:
Run `python3 scripts/manage_dashboard.py auto-sync --plan-dir "plans/<feature-slug>/<timestamp>" --moniker "<feature-slug>"` to parse `00_IDEATION.md`, `02_PRD.md`, `03_EXTRACTION.md`, `04_SPEC.md`, `05_PLAN.md`, update all tabs and Stage Tracker badges, and mirror all artifacts directly to the system artifacts directory.
### Step 4: Present and Gate
1. **Report Progress:** Inform the user that the directory, PRD, and visual dashboard companion have been created.
2. **Ask for Approval:** Ask the user to review the generated PRD artifacts:
"Please review `plans/<feature-slug>/<timestamp>/02_PRD.md` and the visual companion `plans/<feature-slug>/<timestamp>/visual-dashboard.html`. Does this accurately reflect your vision? (Type 'approve' to move to Stage 3: Context Extraction)"From sapientcoffee/bean-to-cup, Apache-2.0.
More from sapientcoffee/bean-to-cup
- 0.521score
assess
sapientcoffee
Exposes the app modernization assessment skill, performing agentic codebase scans, GCP credential verification, cost estimation checks, and executing the…
SkillBFreshness: BClaude Code +9 - 0.521score
rewrite
sapientcoffee
Stage 1/2 - Orchestrate a legacy application rewrite workflow by analyzing modernization assessments and coordinating specialized skills.
SkillBFreshness: BClaude Code +9 - 0.512score
kanban
sapientcoffee
Stage 7 - Generates an interactive Kanban board (Markdown & HTML) and Mermaid flow to visualize and track the status of implementation slices.
SkillBFreshness: BClaude Code +9 - 0.469score
chaos-mitigation
sapientcoffee
Phase 7 - Detects, analyzes, and mitigates active chaos events in the `press-service` using logs and runbooks.
SkillCFreshness: CClaude Code +9 - 0.469score
dev
sapientcoffee
Start the local development environment (backend and frontend)
SkillCFreshness: CClaude Code +9 - 0.467score
deploy-app
sapientcoffee
Phase 7 - Acts as DevOps to automatically detect the application stack, install necessary dependencies, and host the application locally.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 11
- Last commit (this folder)
- Aug 6, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/sapientcoffee/bean-to-cup
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from sapientcoffee
- 0.526score
harness-immunizer
sapientcoffee
Velocity Harness Patch self-healing mechanism.
SkillBFreshness: BClaude Code +9 - 0.526score
cycle-telemetry
sapientcoffee
Velocity Chess Clock telemetry tracker.
SkillBFreshness: BClaude Code +9 - 0.526score
code-hygiene
sapientcoffee
Deterministic local code hygiene runner.
SkillBFreshness: BClaude Code +9 - 0.524score
github-workflow
sapientcoffee
Phase 9 - Provides the process for raising git commits, checking branches, and creating PRs using the gh CLI.
SkillBFreshness: BClaude Code +9 - 0.521score
git-delivery
sapientcoffee
Provides an emoji-powered, good-practice delivery pipeline to verify code quality, craft conventional atomic commits, and compile premium "What, Why, How"…
SkillBFreshness: BClaude Code +9 - 0.521score
record
sapientcoffee
Record terminal interactions and compile them to animated GIFs.
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get feature running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
feature skill. Agent Mart. https://agentmart.dev/skills/sapientcoffee-feature (last updated 2026-10-24)