Skip to content

Adopt AGENTS.md as the single agent instructions file (PanoramicData.Skills#2256) - #35

Merged
davidnmbond merged 2 commits into
mainfrom
chore/agents-md-standard
Nov 25, 2026
Merged

davidnmbond merged 2 commits into
mainfrom
chore/agents-md-standard

Conversation

@davidnmbond

Copy link
Copy Markdown
Contributor

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.

…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.
@codacy-production

codacy-production Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

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.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

⚠️ Resolve issues before merging

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.md is absent and no solution item references it.
  • Verify CLAUDE.md is absent and AGENTS.md is the sole agent instructions file.
  • Validate that AGENTS.md contains 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

Comment thread AGENTS.md
**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`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Comment thread AGENTS.md Outdated
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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

Suggestion: Use a clearly named placeholder such as <guid> instead of a realistic identifier-shaped value in the command example.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md Outdated
- **Sophisticated CSS**: Property type colors, relationship lines, interactive styling

#### Output Behavior
- **Output Directory**: Always creates `Output/` subdirectory relative to DbContext

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

Suggestion: Describe Output/ as the default and note that an explicitly supplied output path can override it.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md
- **Comprehensive Error Handling**: Clear messages for authentication and access issues

#### Authentication Support
- **Personal Access Tokens**: Support for GitHub PAT authentication

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Define PAT on first use as “Personal Access Token (PAT)”.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md

### 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Expand .NET on first use or remove the acronym-style formatting.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md
- **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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Expand FK on first use to “foreign key (FK)”.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md Outdated
- ? 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Identify these names as examples and explain where contributors can find the complete result.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md
#### ?? 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Define GUID on first use as “globally unique identifier (GUID)”.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md Outdated

---

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.**

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Break the concluding summary into separate sentences or bullets so tool capabilities, test results, and production validation are independently clear.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

Comment thread AGENTS.md Outdated
- ? 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ 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.

See Issue in Codacy

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

@davidnmbond
davidnmbond merged commit 5cc93ef into main Nov 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant