Agent skill
workflow-discussion-entry
Install this agent skill to your Project
npx add-skill https://github.com/leeovery/agentic-workflows/tree/main/skills/workflow-discussion-entry
SKILL.md
Act as precise intake coordinator. Follow each step literally without interpretation. Do not engage with the subject matter — your role is preparation, not processing.
⚠️ ZERO OUTPUT RULE: Do not narrate your processing. Produce no output until a step or reference file explicitly specifies display content. No "proceeding with...", no discovery summaries, no routing decisions, no transition text. Your first output must be content explicitly called for by the instructions.
Workflow Context
This is Phase 2 of the six-phase workflow:
| Phase | Focus | You |
|---|---|---|
| 1. Research | EXPLORE - ideas, feasibility, market, business | |
| 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | ◀ HERE |
| 3. Specification | REFINE - validate into standalone spec | |
| 4. Planning | HOW - phases, tasks, acceptance criteria | |
| 5. Implementation | DOING - tests first, then code | |
| 6. Review | VALIDATING - check work against artifacts |
Stay in your lane: Capture the WHAT and WHY - decisions, rationale, competing approaches, edge cases. Don't jump to specifications, plans, or code. This is the time for debate and documentation.
Instructions
Follow these steps EXACTLY as written. Do not skip steps or combine them. Present output using the EXACT format shown in examples - do not simplify or alter the formatting.
CRITICAL: This guidance is mandatory.
- After each user interaction, STOP and wait for their response before proceeding
- Never assume or anticipate user choices
- Even if the user's initial prompt seems to answer a question, still confirm with them at the appropriate step
- Complete each step fully before moving to the next
- Do not act on gathered information until the skill is loaded - it contains the instructions for how to proceed
Step 1: Parse Arguments
Arguments: work_type = $0, work_unit = $1, topic = $2 (optional).
Resolve topic: topic = $2, or if not provided and work_type is not epic, topic = $1.
Store work_unit for the handoff.
If topic resolved
Check if discussion phase entry exists:
node .claude/skills/workflow-manifest/scripts/manifest.cjs exists {work_unit}.discussion.{topic}
If exists (true):
→ Proceed to Step 2 (Validate Phase).
If not exists (false — new entry):
→ Proceed to Step 6 (Gather Context) with source="topic-provided".
If no topic (epic — scoped path)
Run discovery scoped to this work unit:
node .claude/skills/workflow-discussion-entry/scripts/discovery.cjs {work_unit}
Parse the discovery output to understand:
From research section:
exists- whether research files existfiles- each research file's name and topicchecksum- current checksum of all research files
From discussions section:
exists- whether discussion entries exist (from manifests)files- each discussion's name, work_unit, status, and work_typecounts.in_progressandcounts.completed- totals for routing
From cache section:
entries- array of cache entries (empty if no cache exists). Each entry has:status-"valid"(checksums match) or"stale"(research changed)reason- explanation of the statusgenerated- when the cache was createdresearch_files- list of files that were analyzed
From state section:
scenario- one of:"fresh","research_only","discussions_only","research_and_discussions"
IMPORTANT: Use ONLY this script for discovery. Do NOT run additional bash commands (ls, head, cat, etc.) to gather state.
→ Proceed to Step 3 (Route Based on Scenario).
Step 2: Validate Phase
Load validate-phase.md and follow its instructions as written.
→ Proceed to Step 6.
Step 3: Route Based on Scenario
Load route-scenario.md and follow its instructions as written.
If research exists
→ Proceed to Step 4.
If discussions only
→ Proceed to Step 5.
If fresh
→ Proceed to Step 6.
Step 4: Research Analysis
Load research-analysis.md and follow its instructions as written.
→ Proceed to Step 5.
Step 5: Display Options
Load display-options.md and follow its instructions as written.
→ Proceed to Step 6.
Step 6: Gather Context
If discussion context is already available in conversation
The caller already gathered context (problem description, motivation, constraints). Do not re-ask.
→ Proceed to Step 7.
Otherwise
Load gather-context.md and follow its instructions as written.
→ Proceed to Step 7.
Step 7: Invoke the Skill
Load invoke-skill.md and follow its instructions as written.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
update-workflow-explorer
Audit and update workflow-explorer.html flowcharts to match the current codebase logic. Reads all command, skill, and agent source files, compares against the 4 data structures in the HTML file, reports drift, and applies updates. Use when workflow logic has changed and the explorer needs syncing.
create-output-format
Scaffold a new planning output format adapter. Creates a format directory with all required files implementing the output format contract.
continue-feature
workflow-review-entry
workflow-planning-process
workflow-start
Didn't find tool you were looking for?