Skip to content

Instantly share code, notes, and snippets.

@glaucia86
Last active March 20, 2026 17:35
Show Gist options
  • Select an option

  • Save glaucia86/36884908bc73b974f3741134a7130f01 to your computer and use it in GitHub Desktop.

Select an option

Save glaucia86/36884908bc73b974f3741134a7130f01 to your computer and use it in GitHub Desktop.
02-questions-md-resolution-implementation
name questions-md-resolution-implementation
description Read an answered QUESTIONS.md file, convert clarified decisions into a scoped implementation plan, apply approved changes safely, and generate IMPLEMENTATION_NOTES.md.
version 1.0.0
phase implementation
requires QUESTIONS.md
produces IMPLEMENTATION_NOTES.md
next implementation-verification-pass

QUESTIONS.md Resolution and Implementation

Purpose

Use this skill after a prior discovery pass has generated a QUESTIONS.md file and the project owner has answered it.

The goal is to:

  1. read the answered QUESTIONS.md
  2. extract confirmed decisions and constraints
  3. transform answers into an implementation strategy
  4. apply approved improvements safely
  5. generate IMPLEMENTATION_NOTES.md

This skill exists to ensure implementation is based on clarified intent, not guesswork.


Position in the workflow

This is Phase 2 — Implementation.

Required input

  • QUESTIONS.md with answers

Produces

  • IMPLEMENTATION_NOTES.md
  • approved code changes
  • optionally updated tests/docs

Recommended next skill

  • implementation-verification-pass

Do not proceed automatically if

  • QUESTIONS.md is unanswered
  • answers are contradictory or too vague
  • major blockers remain unresolved

Preconditions

Before implementation begins, classify each answered question as one of:

  • confirmed bug
  • intended behavior
  • desired improvement
  • technical debt accepted for now
  • deferred change
  • needs more information
  • out-of-scope

If safe classification is not possible, do not guess.


Core mindset

Act as:

  • a staff/principal engineer
  • a tech lead responsible for safe execution
  • a steward translating decisions into code changes

Your job is to respect the answers, preserve scope boundaries, and implement only what was actually approved.

Understand first.
Plan second.
Implement third.
Verify fourth.


Execution process

1. Read and normalize the answers

Read QUESTIONS.md carefully and determine for each answered item:

  • what the user confirmed
  • whether current behavior is intentional or a bug
  • whether change is requested now
  • whether the item is in scope
  • whether constraints exist

2. Build a decision map

Map each answered question into an execution outcome:

  • no change required
  • small targeted fix
  • refactor
  • behavioral change
  • security hardening
  • performance improvement
  • test improvement
  • documentation update
  • deferred
  • blocked

3. Derive an implementation plan

Group approved work into buckets such as:

  • correctness fixes
  • bug fixes
  • architecture cleanup
  • security improvements
  • performance improvements
  • validation and resilience
  • testing
  • documentation

Sequence work in a low-risk order.

4. Respect scope boundaries

Do not redesign unrelated parts of the system.

Only change what is:

  • explicitly approved
  • strongly implied by approved decisions
  • necessary to complete an approved fix safely
  • required to preserve consistency

5. Implement systematically

Apply changes area by area while preserving architecture, naming consistency, and intended behavior.

Avoid overengineering.

6. Update tests

When behavior changes or bugs are fixed, update or add tests where feasible and valuable.

7. Validate consistency

Ensure implementation matches clarified intent and did not accidentally change deferred or out-of-scope areas.


Output

Create:

IMPLEMENTATION_NOTES.md

Suggested structure:

Implementation Notes

Summary

What was implemented and why.

Decision Mapping

For each major answered question:

  • decision
  • action taken
  • status (verified, partial, blocked, deferred, out-of-scope, caveat)

Applied Changes

  • ...

Tests Updated

  • ...

Docs Updated

  • ...

Deferred Items

  • ...

Blocked Items

  • ...

Implementation guidelines

  • prioritize correctness over elegance
  • keep changes explainable
  • avoid hidden scope creep
  • preserve intended behavior unless change was explicitly approved
  • improve docs when clarified decisions should be captured

Quality bar

A good implementation pass:

  • faithfully reflects QUESTIONS.md answers
  • avoids speculative refactors
  • improves code quality without destabilizing the system
  • leaves a clear record of what changed and why

A weak pass ignores answers, introduces assumptions, and expands scope unnecessarily.


Constraints

Do not:

  • invent requirements
  • silently override intended behavior
  • refactor unrelated areas
  • interpret vague answers as approval for broad changes

Do:

  • implement only confirmed work
  • preserve out-of-scope boundaries
  • document blocked items clearly
  • keep answer-to-change traceability

Handoff to next phase

This skill ends when approved changes are applied and IMPLEMENTATION_NOTES.md is complete.

Recommended next step

Run implementation-verification-pass to validate correctness, consistency, and regression risk.

Stop condition

If too many items remain blocked, do not claim implementation is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment