feat(ai-project-generator): conditional sprints, UX platform awareness & priority fix#202
Merged
Merged
Conversation
β¦s, and priority fix == 1. Conditional sprint additions (promptBuilder.js + special-sprints-guidance.md) == New prompt partial injected between sprint-guidance and task-guidance: - GitHub & Version Control Setup sprint (first sprint when source code or multi-dev is detected): 8 step-by-step tasks covering account/org setup, repo creation, SSH/HTTPS auth, branching strategy, commit conventions, PR conventions, branch protection, semantic versioning + changelogs. - Environment & Tech-Stack Setup sprint (one task per qualifying tech item): databases, backend frameworks, cloud services. Each task covers install, configure, create instance/DB, verify connection. - Test Case Guidelines sprint (when project has 2+ testable modules): 4 tasks covering what test cases are, how to write them, module-wise structure mapped to the project's own modules, and QA tracking workflow. All three are conditional β omitted when the condition is not met. == 2. UX design platform awareness (clarify/system.md + special-sprints-guidance.md) == Clarify step now asks which design/UX tool the team will use whenever the project involves screen design or wireframing. Options: Figma, Adobe XD, Penpot (open-source), Framer (code-based), Sketch (macOS), Balsamiq (low-fidelity), Miro, Let AI decide. Plan generation emits a platform-specific setup task for the chosen tool, including Figma MCP server setup (token generation, npx install, config JSON, benefits for design-to-code handoff with AI assistants). Fixed: design tools were wrongly listed in the skip list for tech-stack setup β they now correctly qualify as setup items. == 3. Priority fix (task-guidance.md + schema.md + orchestrator.js) == - Removed Urgent entirely. Only Low / Medium / High are valid β these are the three default priority values in every AlianHub installation. - Added required distribution check: if >1/3 of tasks are High the model must go back and downgrade; expected ratio is ~1-2 High, 4-6 Medium, 1-2 Low per sprint. - schema.md enum updated: "Low" | "Medium" | "High" (no Urgent). - orchestrator.js PRIORITY_NORMALIZE map drops urgent; any stale value falls through to the MEDIUM default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Urgent, enforcedLow / Medium / Highonly (company defaults), added distribution-check rule to stop the model over-assigningHighFiles changed (6)
prompts/project-plan/special-sprints-guidance.mdpromptBuilder.jssprint-guidance.mdandtask-guidance.mdprompts/clarify/system.mdprompts/project-plan/task-guidance.mdprompts/project-plan/schema.mdUrgentorchestrator.jsPRIORITY_NORMALIZEdropsurgent, falls back toMEDIUMConditional additions detail
Test plan
Urgent, High used sparingly (~1β2 per sprint)π€ Generated with Claude Code