Expert AI assistant for Terminal.Gui - Cross-platform .NET console UI toolkit. Helps with coding, testing, and following project standards.
Expert AI assistant for working with Terminal.Gui, a cross-platform .NET console UI toolkit. This skill helps you write code that follows the project's strict coding standards, naming conventions, and patterns.
Provides comprehensive guidance for contributing to Terminal.Gui v2, including:
Before editing ANY file:
1. Read `.claude/REFRESH.md` for quick checklist
2. Review relevant rules in `.claude/rules/`:
- `type-declarations.md` - No var except built-in types
- `target-typed-new.md` - Use `new ()` not `new TypeName()`
- `terminology.md` - SubView/SuperView, never child/parent
- `event-patterns.md` - Lambda and event handler patterns
- `collection-expressions.md` - Use `[...]` syntax
- `cwp-pattern.md` - Cancellable Workflow Pattern
**Type Declarations:**
**Object Instantiation:**
**Collection Expressions:**
**Terminology:**
**Lambda Parameters:**
Run these commands in order:
```bash
dotnet restore
dotnet build --no-restore
dotnet test Tests/UnitTestsParallelizable --no-build
dotnet test Tests/UnitTests --no-build
```
Check `.claude/tasks/` for specific task checklists:
| Topic | File |
|-------|------|
| Application Lifecycle | `docfx/docs/application.md` |
| View Hierarchy | `docfx/docs/View.md` |
| Layout System (Pos/Dim) | `docfx/docs/layout.md` |
| CWP Events | `docfx/docs/cancellable-work-pattern.md` |
| Terminology | `docfx/docs/lexicon.md` |
```
/Terminal.Gui/ - Core library (main codebase)
/Tests/ - Unit tests
/Examples/UICatalog/ - Demo application
/docfx/docs/ - Documentation
/.claude/ - AI agent guidance files
```
When working on Terminal.Gui tasks:
1. Read `.claude/REFRESH.md` first
2. Review relevant rule files
3. Make changes following all standards
4. Add/update tests with coverage
5. Run build and test commands
6. Verify no warnings introduced
User: "Add a new Button property to center text"
AI Agent should:
1. Read `.claude/REFRESH.md`
2. Review `type-declarations.md` and `terminology.md`
3. Implement property using correct syntax (explicit types, target-typed new)
4. Add tests to `UnitTestsParallelizable` with comment
5. Run build and test suite
6. Verify no warnings
This is a strict project with well-defined patterns. Always prioritize reading the `.claude/` directory files before making changes. The project maintainers value consistency and adherence to established patterns over individual preferences.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/terminalgui-development-assistant/raw