new-analyzer
Add a Roslyn diagnostic to the existing CVOYA graph analyzer, including release metadata and tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Add a Roslyn diagnostic to the existing CVOYA graph analyzer, including release metadata and tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build the solution and run the test suite. Use after implementing features, fixing bugs, or before committing.
CVOYA graph .NET library context. Use when working on CVOYA graph, graph model, providers, LINQ graph queries, node/relationship types, analyzers, or serialization codegen.
Add a graph node domain type with matching model, serialization, and behavioral coverage.
Build the solution and run the test suite. Use after implementing features, fixing bugs, or before committing.
| name | new-analyzer |
| description | Add a Roslyn diagnostic to the existing CVOYA graph analyzer, including release metadata and tests. |
| user-invocable | true |
| argument-hint | <DiagnosticId> <title> |
Add a rule to the repository's existing analyzer architecture. Do not create a separate analyzer or code-fix project unless the requested behavior requires a new shipping component.
$1 — unused diagnostic ID in the CG### series (for example, CG016)$2 — short title describing what the diagnostic checksRead the existing descriptor, analyzer, resource, release-tracking, and test patterns under src/Graph.Analyzers/ and tests/Graph.Analyzers.Tests/.
Add the descriptor and localized resource strings, update the checked-in Resources.Designer.cs accessors, then register the analysis in the shared GraphAnalyzer implementation.
Record the diagnostic in AnalyzerReleases.Unshipped.md and match the existing severity/category conventions.
Add focused positive, negative, inheritance/generic, diagnostic-location, and argument coverage as applicable. The repository currently ships diagnostics without code-fix providers, so do not invent one merely because a fix could be imagined.
Run the focused analyzer tests, then the repository fast lane with DiffEngine disabled for the agent run:
DiffEngine_Disabled=true dotnet test --project tests/Graph.Analyzers.Tests/Graph.Analyzers.Tests.csproj --configuration Debug
./scripts/run-tests.sh --configuration Debug --lane fast --disable-diff-engine
Microsoft's Roslyn analyzer documentation is a secondary reference; the existing repository implementation is authoritative for local structure.