Sdlc solution spec workflow

From BlueSkyXN/Codex-is-all-you-need · View interactive version

Sdlc solution spec workflow is an AI agent skill from the GitHub repository BlueSkyXN/Codex-is-all-you-need. Use only when the user explicitly invokes this skill to coordinate a multi-artifact solution package across HLD, LLD, domain, ADR, NFR, and SPEC slices.

How to use this skill

Skill file

Solution Spec Workflow

Use this workflow when SDLC manager materials need a solution-level package before dev execution.

A solution package connects SRS/NFR/HLD/LLD/ADR/Domain Boundary Map/SPEC materials to an implementation approach. This workflow coordinates and summarizes those artifacts; it should not replace the dedicated sdlc-hld-workflow, sdlc-lld-workflow, sdlc-domain-boundary-modeling, sdlc-modular-monolith-architecture, or sdlc-architecture-decision-record workflows when those artifacts need to be authored in full.

Dev consumes the solution package, maps it to the repository, implements, and reports contradictions or blockers.

Use when

Do not use when

Inputs

Prefer:

If repo evidence is unavailable, mark solution material as proposed. Do not claim it reflects current code reality.

Solution package levels

Choose the required level.

| Level | Use for |

|---|---|

| HLD coordination | summarize or link system boundaries, components, flows, integrations, data movement, major dependencies from sdlc-hld-workflow |

| LLD coordination | summarize or link module responsibilities, interfaces, algorithms, state transitions, error handling, migration steps from sdlc-lld-workflow |

| Domain coordination | summarize or link domain ownership, data ownership, allowed dependencies, and forbidden dependencies from sdlc-domain-boundary-modeling |

| ADR coordination | summarize or link architecture decisions, alternatives, consequences, and review conditions from sdlc-architecture-decision-record |

| Constraint spec | technical constraints, non-goals, forbidden approaches, compatibility requirements |

| Implementation guide | ordered implementation approach for dev handoff without editing code |

A solution package may include multiple levels, but do not include sections with no decision or implementation value.

Workflow

1. Establish design scope

Write:

Feature/system:
Source SRS:
Source NFR:
Source HLD:
Source LLD:
Source ADR:
Source Domain Boundary Map:
Source SPEC slices:
Delivery profile:
Repository evidence available:
Design level needed:
Implementation areas:
Out-of-scope technical areas:

Make clear whether the spec is:

evidence-grounded
proposed
decision-needed

2. Identify source requirements

Create a requirement intake table:

| Source ID | Requirement summary | Quality constraint | SPEC slice | Solution impact |

|---|---|---|---|---|

Every major solution element should trace back to a requirement, NFR, or explicit constraint.

If HLD, LLD, ADR, or Domain Boundary Map is missing but needed, mark it as a required upstream artifact rather than writing a full replacement inside this workflow.

3. Define goals and non-goals

Use goals and non-goals for the solution, not product scope.

Examples:

| Type | Examples |

|---|---|

| Solution goal | preserve API compatibility, isolate new module, avoid data loss, support rollback |

| Solution non-goal | redesign unrelated service, migrate all old state, replace auth system |

Do not use solution goals to expand product scope.

4. Map system context

For HLD-oriented material, describe:

If this information is substantial or contested, recommend

sdlc-hld-workflow; do not invoke it from this workflow.

Recommended table:

| Component / system | Role | Owned by | Inputs | Outputs | Constraints |

|---|---|---|---|---|---|

5. Describe architecture approach

Include only what is needed for dev execution.

## Architecture Approach

- Current state:
- Proposed state:
- Components affected:
- Integration points:
- Data flow:
- Permission model impact:
- Error handling approach:
- Rollout / rollback approach:
- Operational impact:

When there are alternatives, write a decision matrix:

| Option | Description | Pros | Cons | Risks | Decision |

|---|---|---|---|---|---|

If the decision is long-lived or affects HLD, LLD, SPEC, RTM, or future

implementation, recommend sdlc-architecture-decision-record; do not invoke it

automatically. Link an existing or user-approved ADR here.

6. Define API and interface approach

If relevant, summarize interface behavior and link to API SPEC.

Include:

Do not duplicate the full API SPEC unless this document is the only artifact being produced.

7. Define data and state approach

If relevant, summarize:

Use sdlc-spec-slice-writer for detailed Data SPEC when needed.

8. Define module and directory approach

If repository evidence is available, map proposed work to existing conventions:

| Area | Existing convention | Proposed change | Reason | Risk |

|---|---|---|---|---|

If evidence is missing, write:

Repository evidence needed before finalizing directory or module placement.

Do not invent paths as facts. You may propose candidate areas if clearly marked.

For modular-monolith directory and dependency rules, recommend

sdlc-modular-monolith-architecture or Directory SPEC, then summarize only

constraints already accepted by the user.

9. Define LLD-oriented implementation notes

For each module or capability, use:

### <Module / capability>

- Source requirement IDs:
- Responsibility:
- Inputs:
- Outputs:
- Main logic:
- State changes:
- Error handling:
- Data access:
- External calls:
- Observability:
- Tests needed:
- Open questions:

This is not code. It is a dev-readable implementation contract.

If the notes become detailed module design, recommend sdlc-lld-workflow; do

not invoke it from this workflow.

10. Define validation strategy

Map requirements to validation types:

| Requirement / NFR | Validation type | Suggested check | Blocks release? |

|---|---|---|---|

Validation types:

unit
integration
contract
UI / E2E
migration
security
privacy
performance
accessibility
manual smoke
observability
release rollback

11. Define rollout and rollback

If release risk exists, include:

12. Record risks and decisions

Use two separate tables.

Decision log:

| ID | Decision | Basis | Alternatives rejected | Owner | Date / version |

|---|---|---|---|---|---|

Risk log:

| ID | Risk | Source | Impact | Mitigation | Owner | Blocks dev? |

|---|---|---|---|---|---|---|

Do not bury risks inside prose.

13. Prepare dev-facing handoff notes

Summarize what dev should use:

Recommend sdlc-dev-handoff-planning when task cards are needed; do not invoke

it automatically.

Output

Return or write:

# Solution Spec: <Feature / System>

## 1. Document Control
## 2. Source Requirements and Constraints
## 3. Goals and Non-goals
## 4. System Context
## 5. Architecture Approach
## 6. Interface / API Approach
## 7. Data and State Approach
## 8. Module / Directory Approach
## 9. LLD-oriented Implementation Notes
## 10. Validation Strategy
## 11. Rollout and Rollback
## 12. Architecture / Domain Artifact Links
## 13. Decision Log
## 14. Risk Log
## 15. Open Questions
## 16. Dev Handoff Notes

Validation

Before calling the solution spec ready:

Boundaries

Handoff

Recommend at most one downstream skill after completing the requested package.

Do not invoke it automatically:

For an explicit-control workflow, return its exact

$codex-next:<skill-name> command and stop.

| Need | Next skill |

|---|---|

| missing software requirements | sdlc-srs-workflow |

| missing measurable quality requirements | sdlc-nfr-spec |

| missing HLD | sdlc-hld-workflow |

| missing LLD | sdlc-lld-workflow |

| missing domain boundary or ownership map | sdlc-domain-boundary-modeling |

| missing modular monolith structure | sdlc-modular-monolith-architecture |

| missing architecture decision record | sdlc-architecture-decision-record |

| missing UI/API/Data/Admin/Permission slices | sdlc-spec-slice-writer |

| executable implementation task package | sdlc-dev-handoff-planning |

| requirement-to-task/test traceability | sdlc-requirements-traceability |

| readiness judgment | $codex-next:sdlc-readiness-review |

When handing off to dev, provide:

  1. source artifact list
  2. solution goals and non-goals
  3. component or module map
  4. architecture and domain constraints
  5. allowed and forbidden dependencies
  6. validation requirements
  7. risk log
  8. open blockers
  9. suggested implementation order
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.