|
| 1 | +# Repository Structure Cleanup Plan |
| 2 | + |
| 3 | +## Current Issues |
| 4 | + |
| 5 | +### 1. Duplicate Content Structure |
| 6 | +- `/prompts/` - Contains original Markdown prompts |
| 7 | +- `/src/docs/Prompts/` - Contains AsciiDoc stubs that reference Markdown files |
| 8 | +- Inconsistent file formats and incomplete documentation |
| 9 | + |
| 10 | +### 2. Missing Integration |
| 11 | +- Examples referenced but don't exist |
| 12 | +- Broken includes in AsciiDoc files |
| 13 | +- Inconsistent navigation |
| 14 | + |
| 15 | +## Proposed Solution |
| 16 | + |
| 17 | +### Phase 1: Immediate (High Priority) ✅ |
| 18 | +- [x] Create comprehensive examples in `/src/docs/examples/` |
| 19 | +- [x] Add navigation component for website |
| 20 | +- [x] Create complete AsciiDoc versions of prompts |
| 21 | +- [x] Add CONTRIBUTING.md |
| 22 | + |
| 23 | +### Phase 2: Structure Cleanup (Medium Priority) |
| 24 | +- [ ] Keep `/prompts/` as source of truth for Markdown versions |
| 25 | +- [ ] Complete all AsciiDoc files in `/src/docs/Prompts/` |
| 26 | +- [ ] Add proper includes and cross-references |
| 27 | +- [ ] Create integration documentation |
| 28 | + |
| 29 | +### Phase 3: Enhancement (Lower Priority) |
| 30 | +- [ ] Add GitHub issue templates |
| 31 | +- [ ] Implement automated link checking |
| 32 | +- [ ] Add search functionality |
| 33 | +- [ ] Create video tutorials |
| 34 | + |
| 35 | +## File Organization Strategy |
| 36 | + |
| 37 | +``` |
| 38 | +LLM-Prompts/ |
| 39 | +├── prompts/ # Source Markdown prompts (keep) |
| 40 | +│ ├── Architecture-Communication-Canvas.md |
| 41 | +│ ├── Architecture-Decision-Record.md |
| 42 | +│ └── ... |
| 43 | +├── src/docs/ # docToolchain website content |
| 44 | +│ ├── landingpage.gsp # New improved landing page ✅ |
| 45 | +│ ├── navigation.adoc # Navigation component ✅ |
| 46 | +│ ├── examples/ # Complete examples ✅ |
| 47 | +│ │ ├── architecture-communication-canvas-example.adoc |
| 48 | +│ │ ├── architecture-decision-record-example.adoc |
| 49 | +│ │ └── quality-scenarios-example.adoc |
| 50 | +│ ├── descriptions/ # Keep existing descriptions |
| 51 | +│ └── Prompts/ # Complete AsciiDoc versions |
| 52 | +│ ├── 10-Intro.adoc |
| 53 | +│ ├── 20-ACC.adoc # Completed ✅ |
| 54 | +│ ├── 30-ADR.adoc |
| 55 | +│ └── ... |
| 56 | +├── .github/ |
| 57 | +│ ├── workflows/ |
| 58 | +│ │ └── gh-pages.yml # Keep existing |
| 59 | +│ ├── ISSUE_TEMPLATE/ # Add GitHub templates |
| 60 | +│ │ ├── bug_report.md |
| 61 | +│ │ ├── feature_request.md |
| 62 | +│ │ └── prompt_suggestion.md |
| 63 | +│ └── pull_request_template.md |
| 64 | +├── README.adoc # Keep as main documentation |
| 65 | +├── CONTRIBUTING.md # Added ✅ |
| 66 | +├── LICENSE # Add license file |
| 67 | +└── docToolchainConfig.groovy # Keep existing config |
| 68 | +``` |
| 69 | + |
| 70 | +## Benefits of This Approach |
| 71 | + |
| 72 | +1. **Clear Separation**: Markdown for development, AsciiDoc for publication |
| 73 | +2. **Maintainability**: Single source of truth for each format |
| 74 | +3. **User Experience**: Complete website with examples and navigation |
| 75 | +4. **Community**: Clear contribution guidelines and templates |
| 76 | +5. **Integration**: Proper docToolchain workflow |
| 77 | + |
| 78 | +## Implementation Steps |
| 79 | + |
| 80 | +### Immediate Actions Completed ✅ |
| 81 | +- Landing page redesigned with modern, engaging interface |
| 82 | +- Navigation component created for consistent site navigation |
| 83 | +- Example outputs created for major prompts |
| 84 | +- CONTRIBUTING.md with comprehensive guidelines |
| 85 | +- Complete AsciiDoc version of ACC prompt with interactive features |
| 86 | + |
| 87 | +### Next Actions Needed |
| 88 | +1. Complete remaining AsciiDoc prompt files (ADR, Quality Scenarios, etc.) |
| 89 | +2. Add GitHub issue and PR templates |
| 90 | +3. Create LICENSE file |
| 91 | +4. Add automated link checking workflow |
| 92 | +5. Update main README to reflect new structure |
| 93 | + |
| 94 | +## Quality Assurance |
| 95 | + |
| 96 | +### Testing Checklist |
| 97 | +- [ ] All AsciiDoc files generate correctly with docToolchain |
| 98 | +- [ ] Navigation works on all pages |
| 99 | +- [ ] Examples display properly |
| 100 | +- [ ] Copy-to-clipboard functionality works |
| 101 | +- [ ] Mobile responsiveness verified |
| 102 | +- [ ] All internal links functional |
| 103 | + |
| 104 | +### Validation Process |
| 105 | +1. Test website generation locally: `./dtcw generateSite` |
| 106 | +2. Validate AsciiDoc syntax: `./dtcw generateHTML` |
| 107 | +3. Check responsive design on multiple screen sizes |
| 108 | +4. Test prompt functionality with actual LLMs |
| 109 | +5. Verify GitHub Pages deployment |
| 110 | + |
| 111 | +This structured approach will transform the repository into a professional, user-friendly resource while maintaining backward compatibility. |
0 commit comments