Repository navigation
Adopt AGENTS.md as the single agent instructions file (PanoramicData.Skills#2256) - #35
Conversation
…Skills#2256) Replaces the generated CLAUDE.md, AGENTS.md and copilot-instructions.md with one standalone AGENTS.md. The earlier files named the private PanoramicData.Skills repository and the governance tool; the history still contains that.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | ✅ +0.00% coverage variation (-1.00%) |
| Diff coverage | ✅ ∅ diff coverage |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (9fcca64) 547 502 91.77% Head commit (ce876d4) 547 (+0) 502 (+0) 91.77% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#35) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Pull Request Overview
AGENTS.md still contains Git commands with --no-pager in the wrong position, so the documented commands fail. The repository also does not show removal of the legacy instructions file, leaving the single-instructions-file requirement unverified. The file-layout and guidance changes lack automated validation.
About this PR
- Remove the remaining legacy agent-instructions file and add repository-level validation for the expected instruction-file layout.
Test suggestions
- Verify
.github/copilot-instructions.mdis absent and no solution item references it. - Verify
CLAUDE.mdis absent andAGENTS.mdis the sole agent instructions file. - Validate that
AGENTS.mdcontains the migrated formatting and validation guidance.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify `.github/copilot-instructions.md` is absent and no solution item references it.
2. Verify `CLAUDE.md` is absent and `AGENTS.md` is the sole agent instructions file.
3. Validate that `AGENTS.md` contains the migrated formatting and validation guidance.
TIP Add a Jira or Linear ticket key to the branch or title so the reviewer can check the PR against it. Using another tracker? Tell us.
TIP How was this review? Give us feedback
| **IMPORTANT**: Avoid interactive commands that require user input in terminal: | ||
| - ? **Don't use**: `git show`, `less`, `more`, `cat` (for large files) | ||
| - ? **Don't use**: Commands that trigger pagination or require pressing space/enter | ||
| - ? **Use instead**: `git show --no-pager`, `Get-Content | Select-Object -First N`, `head -N` |
There was a problem hiding this comment.
🟡 MEDIUM RISK
--no-pager must precede the Git subcommand; the recommended commands here and in the examples fail instead of avoiding pagination. Use git --no-pager show and git --no-pager log --oneline throughout this guide.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
| dotnet run -- MyDbContext.cs --css-file my-styles.css | ||
|
|
||
| # Preserve layout state with specific GUID | ||
| dotnet run -- MyDbContext.cs --guid "12345678-1234-1234-1234-123456789abc" |
There was a problem hiding this comment.
🟡 MEDIUM RISK
Suggestion: Use a clearly named placeholder such as <guid> instead of a realistic identifier-shaped value in the command example.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
| - **Sophisticated CSS**: Property type colors, relationship lines, interactive styling | ||
|
|
||
| #### Output Behavior | ||
| - **Output Directory**: Always creates `Output/` subdirectory relative to DbContext |
There was a problem hiding this comment.
🟡 MEDIUM RISK
Suggestion: Describe Output/ as the default and note that an explicitly supplied output path can override it.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
| - **Comprehensive Error Handling**: Clear messages for authentication and access issues | ||
|
|
||
| #### Authentication Support | ||
| - **Personal Access Tokens**: Support for GitHub PAT authentication |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Define PAT on first use as “Personal Access Token (PAT)”.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
|
|
||
| ### Project Overview | ||
|
|
||
| SchemaMagic is a .NET 11.0 command-line tool that analyzes Entity Framework Core DbContext files and generates interactive HTML schema visualizations. The tool creates drag-and-drop entity relationship diagrams that help developers understand and explore database schemas. |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Expand .NET on first use or remove the acronym-style formatting.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
| - **Inheritance Hierarchies**: Visualizes entity inheritance with base classes | ||
| - **Navigation Properties**: Displays collection and reference properties | ||
| - **Fallback Entity Generation**: Creates entities when class definitions not found | ||
| - **Migration Snapshot Integration**: Uses EF snapshots for accurate FK detection |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Expand FK on first use to “foreign key (FK)”.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
| - ? Found EF Migration snapshot with accurate foreign key relationships | ||
| - ? Generated: `Output/TenantDbContext-Schema.html` (245KB) | ||
| - ? Detected inheritance hierarchies and navigation properties | ||
| - ? Entities include: DeviceModel, NetworkModel, OrganizationModel, WebHookEventModel, etc. |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Identify these names as examples and explain where contributors can find the complete result.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
| #### ?? Output Generation | ||
| - **Interactive HTML**: Creates fully interactive schema diagrams | ||
| - **Default Output Location**: `{DbContextDirectory}/Output/{DbContextName}-Schema.html` | ||
| - **GUID-based State**: Each document has unique GUID for localStorage persistence |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Define GUID on first use as “globally unique identifier (GUID)”.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
|
|
||
| --- | ||
|
|
||
| This project successfully demonstrates interactive Entity Framework schema visualization with a clean command-line interface and robust HTML output generation. The test runs confirm all core functionality works as expected with proper error handling and user feedback. **Production validation with Magic Suite's 135 total entities across two DbContexts proves the tool's enterprise readiness.** |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Break the concluding summary into separate sentences or bullets so tool capabilities, test results, and production validation are independently clear.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
| - ? Found EF Migration snapshot with extensive foreign key data | ||
| - ? Generated: `Output/CodeContext-Schema.html` (246KB) | ||
| - ? Handled complex multi-project entity discovery | ||
| - ? Entities include: Tenant, Role, Permission, Metric, Alert, Dashboard, etc. |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Replace “etc.” with wording that clearly identifies the list as illustrative and points to the authoritative source for the complete entity list.
TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.
AGENTS.md is now the one instructions file for Claude Code, Codex and Copilot, built from the standard public template. CLAUDE.md is removed (while it exists, Claude Code ignores AGENTS.md), along with .github/copilot-instructions.md where there was one; its formatting and validation guidance is folded into AGENTS.md. Any solution item pointing at a removed file is dropped.
The earlier generated files named the private PanoramicData.Skills repository and the governance tool, so the history of this repository still contains those mentions.