

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
12345# Units Generation - Detailed Steps67## Overview8This stage decomposes the system into manageable units of work through two integrated parts:9- **Part 1 - Planning**: Create decomposition plan with questions, collect answers, analyze for ambiguities, get approval10- **Part 2 - Generation**: Execute approved plan to generate unit artifacts1112**DEFINITION**: A unit of work is a logical grouping of stories for development purposes. For microservices, each unit becomes an independently deployable service. For monoliths, the single unit represents the entire application with logical modules.1314**Terminology**: Use "Service" for independently deployable components, "Module" for logical groupings within a service, "Unit of Work" for planning context.1516## Prerequisites17- Workspace Detection must be complete18- Requirements Analysis recommended (provides functional scope)19- User Stories recommended (stories map to units)20- Application Design stage REQUIRED (determines components, methods, and services)21- Execution plan must indicate Design stage should execute2223---2425# PART 1: PLANNING2627## Step 1: Create Unit of Work Plan28- Generate plan with checkboxes [] for decomposing system into units of work29- Focus on breaking down the system into manageable development units30- Each step and sub-step should have a checkbox []3132## Step 2: Include Mandatory Unit Artifacts in Plan33**ALWAYS** include these mandatory artifacts in the unit plan:34- [ ] Generate `aidlc-docs/inception/application-design/unit-of-work.md` with unit definitions and responsibilities35- [ ] Generate `aidlc-docs/inception/application-design/unit-of-work-dependency.md` with dependency matrix36- [ ] Generate `aidlc-docs/inception/application-design/unit-of-work-story-map.md` mapping stories to units37- [ ] **Greenfield only**: Document code organization strategy in `unit-of-work.md` (see code-generation.md for structure patterns)38- [ ] Validate unit boundaries and dependencies39- [ ] Ensure all stories are assigned to units4041## Step 3: Generate Context-Appropriate Questions42**DIRECTIVE**: Thoroughly analyze the requirements, stories, and application design to identify ALL areas where clarification would improve unit decomposition quality. Be proactive in asking questions to ensure comprehensive coverage of decomposition concerns.4344**CRITICAL**: Default to asking questions when there is ANY ambiguity or missing detail that could affect unit boundaries or decomposition quality. It's better to ask too many questions than to make incorrect assumptions about how the system should be decomposed.4546**MANDATORY**: Evaluate ALL of the following categories by asking targeted questions about each. For each category, determine applicability based on evidence from the requirements, stories, and application design -- do not skip categories without explicit justification:4748- EMBED questions using [Answer]: tag format49- Focus on ANY ambiguities, missing information, or areas needing clarification50- Generate questions wherever user input would improve decomposition decisions51- **When in doubt, ask the question** - overconfidence leads to poor unit boundaries5253**Question categories to evaluate** (consider ALL categories):54- **Story Grouping** - Ask about grouping strategy, story affinity, and logical clustering approaches55- **Dependencies** - Ask about integration approach, shared resources, and inter-unit communication patterns56- **Team Alignment** - Ask about team structure, ownership boundaries, and collaboration models57- **Technical Considerations** - Ask about scalability/deployment requirements that may differ across units58- **Business Domain** - Ask about domain boundaries, bounded contexts, and business capability alignment59- **Code Organization (Greenfield multi-unit only)** - Ask about deployment model and directory structure preferences6061## Step 4: Store UOW Plan62- Save as `aidlc-docs/inception/plans/unit-of-work-plan.md`63- Include all [Answer]: tags for user input64- Ensure plan covers all aspects of system decomposition6566## Step 5: Request User Input67- Ask user to fill [Answer]: tags directly in the plan document68- Emphasize importance of decomposition decisions69- Provide clear instructions on completing the [Answer]: tags7071## Step 6: Collect Answers72- Wait for user to provide answers to all questions using [Answer]: tags in the document73- Do not proceed until ALL [Answer]: tags are completed74- Review the document to ensure no [Answer]: tags are left blank7576## Step 7: ANALYZE ANSWERS (MANDATORY)77Before proceeding, you MUST carefully review all user answers for:78- **Vague or ambiguous responses**: "mix of", "somewhere between", "not sure", "depends"79- **Undefined criteria or terms**: References to concepts without clear definitions80- **Contradictory answers**: Responses that conflict with each other81- **Missing generation details**: Answers that lack specific guidance82- **Answers that combine options**: Responses that merge different approaches without clear decision rules8384## Step 8: MANDATORY Follow-up Questions85If the analysis in step 7 reveals ANY ambiguous answers, you MUST:86- Add specific follow-up questions to the plan document using [Answer]: tags87- DO NOT proceed to approval until all ambiguities are resolved88- Examples of required follow-ups:89 - "You mentioned 'mix of A and B' - what specific criteria should determine when to use A vs B?"90 - "You said 'somewhere between A and B' - can you define the exact middle ground approach?"91 - "You indicated 'not sure' - what additional information would help you decide?"92 - "You mentioned 'depends on complexity' - how do you define complexity levels?"9394## Step 9: Request Approval95- Ask: "**Unit of work plan complete. Review the plan in aidlc-docs/inception/plans/unit-of-work-plan.md. Ready to proceed to generation?**"96- DO NOT PROCEED until user confirms9798## Step 10: Log Approval99- Log prompt and response in audit.md with timestamp100- Use ISO 8601 timestamp format101- Include complete approval prompt text102103## Step 11: Update Progress104- Mark Units Planning complete in aidlc-state.md105- Update the "Current Status" section106- Prepare for transition to Units Generation107108---109110# PART 2: GENERATION111112## Step 12: Load Unit of Work Plan113- [ ] Read the complete plan from `aidlc-docs/inception/plans/unit-of-work-plan.md`114- [ ] Identify the next uncompleted step (first [ ] checkbox)115- [ ] Load the context and requirements for that step116117## Step 13: Execute Current Step118- [ ] Perform exactly what the current step describes119- [ ] Generate unit artifacts as specified in the plan120- [ ] Follow the approved decomposition approach from Planning121- [ ] Use the criteria and boundaries specified in the plan122123## Step 14: Update Progress124- [ ] Mark the completed step as [x] in the unit of work plan125- [ ] Update `aidlc-docs/aidlc-state.md` current status126- [ ] Save all generated artifacts127128## Step 15: Continue or Complete129- [ ] If more steps remain, return to Step 12130- [ ] If all steps complete, verify units are ready for design stages131- [ ] Mark Units Generation stage as complete132133## Step 16: Present Completion Message134135```markdown136# 🔧 Units Generation Complete137138[AI-generated summary of units and decomposition created in bullet points]139140> **📋 <u>**REVIEW REQUIRED:**</u>**141> Please examine the units generation artifacts at: `aidlc-docs/inception/application-design/`142143> **🚀 <u>**WHAT'S NEXT?**</u>**144>145> **You may:**146>147> 🔧 **Request Changes** - Ask for modifications to the units generation if required148> ✅ **Approve & Continue** - Approve units and proceed to **CONSTRUCTION PHASE**149```150151## Step 17: Wait for Explicit Approval152- Do not proceed until the user explicitly approves the units generation153- Approval must be clear and unambiguous154- If user requests changes, update the units and repeat the approval process155156## Step 18: Record Approval Response157- Log the user's approval response with timestamp in `aidlc-docs/audit.md`158- Include the exact user response text159- Mark the approval status clearly160161## Step 19: Update Progress162- Mark Units Generation stage complete in `aidlc-docs/aidlc-state.md`163- Update the "Current Status" section164- Prepare for transition to CONSTRUCTION PHASE165166---167168## Critical Rules169170### Planning Phase Rules171- Generate ONLY context-relevant questions172- Use [Answer]: tag format for all questions173- Analyze all answers for ambiguities before proceeding174- Resolve ALL ambiguities with follow-up questions175- Get explicit user approval before generation176177### Generation Phase Rules178- **NO HARDCODED LOGIC**: Only execute what's written in the unit of work plan179- **FOLLOW PLAN EXACTLY**: Do not deviate from the step sequence180- **UPDATE CHECKBOXES**: Mark [x] immediately after completing each step181- **USE APPROVED APPROACH**: Follow the decomposition methodology from Planning182- **VERIFY COMPLETION**: Ensure all unit artifacts are complete before proceeding183184## Completion Criteria185- All planning questions answered and ambiguities resolved186- User approval obtained for the plan187- All steps in unit of work plan marked [x]188- All unit artifacts generated according to plan:189 - `unit-of-work.md` with unit definitions190 - `unit-of-work-dependency.md` with dependency matrix191 - `unit-of-work-story-map.md` with story mappings192- Units verified and ready for per-unit design stages193
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-build.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-code-simplify.mdc · 51 | Cursor rules | testing-strategy | 30/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-plan.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-review.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-ship.mdc · 51 | Cursor rules | testing-strategygitdeploymentdo-not | 61/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-spec.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-test.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-forgecat/AGENTS.md · 51 | AGENTS.md | lint-formatstylearchdo-not | 73/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-forgecat/CLAUDE.md · 51 | CLAUDE.md | teststylearchagent-behaviour | 70/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-cancel-ralph.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-help.mdc · 51 | Cursor rules | no sections | 54/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-ralph-loop.mdc · 51 | Cursor rules | no sections | 22/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_agent-sdk-dev/for-cursor/.cursor/rules/cmd-new-sdk-app.mdc · 51 | Cursor rules | setupstylearchdocs | 76/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_claude-md-management/for-cursor/.cursor/rules/cmd-revise-claude-md.mdc · 51 | Cursor rules | agent-behaviour | 50/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_code-review/for-cursor/.cursor/rules/cmd-code-review.mdc · 51 | Cursor rules | testing-strategygit | 35/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-clean_gone.mdc · 51 | Cursor rules | no sections | 60/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-commit-push-pr.mdc · 51 | Cursor rules | stylegit | 44/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-commit.mdc · 51 | Cursor rules | style | 44/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_example-plugin/for-cursor/.cursor/rules/cmd-example-command.mdc · 51 | Cursor rules | lint-formatstyleagent-behaviour | 58/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_feature-dev/for-cursor/.cursor/rules/cmd-feature-dev.mdc · 51 | Cursor rules | stylearchgit | 56/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/nota-america-forgecat-agent-profiles-profiles-awslabs-aidlc-workflows-for-cursor-cursor-rules-rule-units-generation)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.