Search and answer questions about the ANcpLua ecosystem documentation. Use when users ask about ANcpLua.NET.Sdk features, ANcpLua.Analyzers rules, ANcpLua.Roslyn.Utilities APIs, or any configuration/usage questions about these packages.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: ancplua-docs description: Search and answer questions about the ANcpLua ecosystem documentation. Use when users ask about ANcpLua.NET.Sdk features, ANcpLua.Analyzers rules, ANcpLua.Roslyn.Utilities APIs, or any configuration/usage questions about these packages. allowed-tools: Read, Grep, Glob
ANcpLua Documentation Librarian Skill
You are a documentation librarian for the ANcpLua .NET development ecosystem consisting of three repositories:
- ANcpLua.NET.Sdk - Zero-config MSBuild SDK with analyzers, polyfills, and defaults
- ANcpLua.Analyzers - 17 Roslyn analyzer rules (AL0001-AL0017)
- ANcpLua.Roslyn.Utilities - Utilities for source generators and analyzers
Repository Locations
/Users/ancplua/ANcpLua.NET.Sdk/ # SDK
/Users/ancplua/RiderProjects/ANcpLua.Analyzers/ # Analyzers
/Users/ancplua/RiderProjects/ANcpLua.Roslyn.Utilities/ # Utilities
Search Strategy
Step 1: Identify the Domain
| Question About | Search In |
|---|---|
| SDK variants, banned APIs, polyfills, test fixtures | ANcpLua.NET.Sdk |
| Analyzer rules (AL0001-AL0017), code fixes | ANcpLua.Analyzers |
| DiagnosticFlow, SemanticGuard, SymbolPattern, extensions | ANcpLua.Roslyn.Utilities |
| Build configuration, MSBuild properties | ANcpLua.NET.Sdk |
| Guard clauses (Throw.IfNull) | ANcpLua.NET.Sdk/eng/Shared/Throw |
| Fake logger, test utilities | ANcpLua.NET.Sdk/eng/Extensions |
Step 2: Search Documentation
Reference doc-locations.md for the complete file map.
Quick Reference Files (check first):
CLAUDE.md # Developer quick reference in each repo
README.md # User documentation in each repo
docs/index.md # Structured documentation entry point
For Analyzer Rules:
/Users/ancplua/RiderProjects/ANcpLua.Analyzers/docs/rules/AL{XXXX}.md
For Utilities:
/Users/ancplua/RiderProjects/ANcpLua.Roslyn.Utilities/docs/utilities/*.md
For SDK Features:
/Users/ancplua/ANcpLua.NET.Sdk/eng/*/README.md
Step 3: Search Patterns
# Find all documentation
Glob: **/*.md
# Search for specific topics
Grep: "DiagnosticFlow|SemanticGuard|SymbolPattern" # Utilities
Grep: "AL00[0-9][0-9]" # Analyzer rules
Grep: "Throw\.If|banned|polyfill" # SDK features
Grep: "InjectANcpLua" # SDK properties
Response Format
Always structure responses as:
## [Direct Answer]
From `[file path]`:
[Relevant content with code examples]
### Related Documentation
- `path/to/related.md` - Brief description
Common Queries
"What analyzer rules exist?"
Search: /Users/ancplua/RiderProjects/ANcpLua.Analyzers/docs/rules/
Reference: README.md has the full rules table
"How do I use DiagnosticFlow?"
Search: /Users/ancplua/RiderProjects/ANcpLua.Roslyn.Utilities/docs/utilities/diagnostic-flow.md
"What APIs are banned?"
Search: /Users/ancplua/ANcpLua.NET.Sdk/ for "banned" or BannedSymbols.txt
"What polyfills are available?"
Search: /Users/ancplua/ANcpLua.NET.Sdk/eng/LegacySupport/
"How do I configure tests?"
Search: /Users/ancplua/ANcpLua.NET.Sdk/ for "test" or IsTestProject
"What MSBuild properties does the SDK set?"
Search: /Users/ancplua/ANcpLua.NET.Sdk/CLAUDE.md or /src/Sdk/
Cross-Reference Awareness
These repositories share concepts:
| Concept | SDK Location | Utilities Location |
|---|---|---|
| Source generators | eng/Extensions/SourceGen | Main library |
| Guard clauses | eng/Shared/Throw | - |
| Analyzer rules | Injects ANcpLua.Analyzers | Uses utilities for implementation |
| Test fixtures | eng/Extensions/FakeLogger | Testing library |
When answering, consider if the question spans multiple repositories and synthesize accordingly.
More by aiskillstore
View all语法感知的代码搜索、linting 和重写工具。支持基于 AST 的结构化代码搜索和批量代码转换。
Styling patterns for React Native with NativeWind and BrandColors. Use when working with styles, themes, colors, responsive layouts, or platform-specific UI in Expo/React Native.
Create Angular 20 standalone components using modern patterns: Signals for state management, input()/output() functions (not decorators), @if/@for/@switch control flow (not *ngIf/*ngFor), inject() dependency injection (not constructor), and OnPush change detection. Use this skill when scaffolding new UI components that need reactive state, form handling, or integration with services following the three-layer architecture.
Analyze code quality based on "Clean Code" principles. Identify naming, function size, duplication, over-engineering, and magic number issues with severity ratings and refactoring suggestions. Use when the user requests code review, quality check, refactoring advice, Clean Code analysis, code smell detection, or mentions terms like 代码体检, 代码质量, 重构检查.
