bc-matrix-page-generator
Skill28 starsChanged 7 months agoMITView on GitHub
Generates interactive matrix pages for Business Central with configurable periodicity (day, week, month, quarter, year, custom), flexible orientation, pagination, and Excel export in visual matrix format.
In this repository38 other files it gives its agents.
- bc-agent-instructions-debuggerSkill
- bc-al-bug-fixSkill
- bc-al-code-reviewerSkill
- bc-al-project-contextSkill
- bc-api-page-generatorSkill
- bc-api-query-generatorSkill
- bc-approval-workflow-generatorSkill
- bc-attachments-generatorSkill
- skill-batch-processingSkill
- bc-business-events-generatorSkill
- bc-cds-page-generatorSkill
- bc-dataverse-entity-generatorSkill
- bc-dataverse-mapping-generatorSkill
- bc-field-propagationSkill
- bc-install-codeunit-generatorSkill
- bc-isolated-storage-generatorSkill
- bc-job-queueSkill
- bc-manifest-handoff-generatorSkill
- bc-number-series-generatorSkill
- bc-pricing-refactorSkill
- bc-report-selection-generatorSkill
- bc-reportsSkill
- bc-setup-table-generatorSkill
- bc-setup-wizard-generatorSkill
- bc-table-dimensions-generatorSkill
- bc-telemetry-generatorSkill
- bc-test-codeunit-generatorSkill
- bc-upgrade-codeunit-generatorSkill
- documentation-bc-analysis-generatorSkill
- documentation-bc-architecture-generatorSkill
- documentation-bc-ccn-generatorSkill
- documentation-bc-md-to-docx-converterSkill
- documentation-bc-phase-plan-generatorSkill
- documentation-bc-release-note-generatorSkill
- documentation-bc-technical-spec-generatorSkill
- documentation-bc-user-story-generatorSkill
- onprem-remote-deploySkill
- skill-contribution-assistantSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use this skill when user asks for:
- Distinctive: line 34
Ask these questions every time:
- Distinctive: line 57
No customer-specific names in generated code
- Distinctive: line 58
No hardcoded credentials, hostnames, paths, or internal endpoints
- Distinctive: line 60
Avoid recalculating full matrix per pagination page
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Business Central Matrix Page Generator
Generates production-ready AL matrix solutions with these capabilities:
- Configurable periodicity: day, week, month, quarter, year, custom
- Flexible orientation:
- Rows = periods, columns = dimension entities
- Rows = dimensions, columns = periods
- Pagination for dynamic columns
- Optional ranking Query generation
- Excel export with same visual layout as matrix page
- DrillDown patterns for source records
- Temporary or persistent buffer table option
Trigger guidance
Use this skill when user asks for:
- create matrix page
- generate weekly or monthly matrix
- matrix with pagination
- export matrix to excel
- period x customer matrix
- customer x period matrix
- item planning matrix
Mandatory interview before generation
Ask these questions every time:
- Matrix orientation?
- Periodicity?
- Dimension entity and source?
- Measures to calculate?
- Pagination size?
- Temporary or persistent buffer table?
- Include ranking Query?
- Include Excel export?
- DrillDown targets?
- Object IDs and naming preferences?
Generated artifacts
- Buffer table
- Management codeunit
- Matrix page
- Optional ranking query
- Optional permission set
Quality and safety boundaries
- No customer-specific names in generated code
- No hardcoded credentials, hostnames, paths, or internal endpoints
- Validate date filters and empty datasets
- Avoid recalculating full matrix per pagination page
- Build full dataset once for export, then pivot to visual matrix format
Anti-patterns to avoid
- Repeating full matrix calculation in pagination loops
- Exporting normalized tabular output that does not match matrix layout
- Hardcoded fixed column assumptions
- Missing total rows
References
- references/periodicities.md
- references/pagination-patterns.md
- references/excel-export.md
- references/examples/weekly-customer-matrix.md
- references/examples/monthly-item-matrix.md
Acknowledgments
Inspired by real-world implementation patterns from Takasago project and WAU Technologies team, generalized for community reuse.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

