GLM-5 Analysis Artifacts
This folder contains pre-computed analysis artifacts generated by GLM-5 for use with cheaper inference models.
Purpose
These artifacts enable cheaper models to work effectively on the DataPRO codebase by providing:
- High-level architecture understanding
- Reusable code patterns
- Task-specific prompt templates
- Test scaffolds
Contents
Architecture.md
Comprehensive system architecture document including:
- System overview
- Solution structure
- Architecture patterns (MVVM, Prism, Unity DI)
- Module dependency graph
- Data flow diagrams
- Extension points
- Key technologies
- Gotchas and tech debt
PatternLibrary/
Reusable code patterns extracted from the codebase:
| File | Purpose |
|---|---|
PrismModulePattern.md |
Creating new Prism modules |
MVVM_Pattern.md |
View/ViewModel implementation |
DataAccessPattern.md |
Database operations via DbAPI |
ServicePattern.md |
Background services and hardware communication |
ImportExportPattern.md |
Data import/export workflows |
PromptTemplates/
Task-specific prompts for common development activities:
| File | Use Case |
|---|---|
AddNewSensorType.md |
Adding a new sensor to the system |
AddNewReport.md |
Creating a new report module |
AddNewImportFormat.md |
Supporting a new data format |
AddNewHardwareSupport.md |
Adding new DAS hardware support |
FixBugInViewModel.md |
Debugging MVVM issues |
AddUnitTest.md |
Creating unit tests |
TestScaffolds/
Test templates for common testing scenarios.
Usage with Cheaper Models
When using a smaller/cheaper model for development tasks:
- For architecture questions: Include
Architecture.mdin context - For code generation: Include relevant pattern from
PatternLibrary/ - For specific tasks: Include relevant prompt template from
PromptTemplates/ - For testing: Include relevant scaffold from
TestScaffolds/
Example Context Assembly
You are working on DataPRO, a .NET WPF sensor data acquisition system.
Architecture overview:
[Include Architecture.md relevant sections]
Relevant pattern:
[Include pattern from PatternLibrary/]
Task:
[Include prompt from PromptTemplates/]
Regeneration
These artifacts were generated on 2026-04-16. To regenerate:
- Ensure enrichment is complete in
enriched-qwen3-coder-next/ - Run GLM-5 analysis on the codebase
- Update this folder
Token Budget
| Artifact | Approximate Size |
|---|---|
| Architecture.md | ~16KB / ~4,000 tokens |
| PatternLibrary/* | ~56KB / ~14,000 tokens |
| PromptTemplates/* | ~75KB / ~19,000 tokens |
| TestScaffolds/* | TBD |
Select artifacts based on your context window budget.