teaceo-debug/DEEP6 / .claude/skills/nt8-fix
nt8-fix
Verified| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.5 KB |
| knowledge.md | markdown | 2.9 KB |
SKILL.md
View on GitHub# nt8-fix Skill
Invoke this skill when the user reports a NinjaScript compile error, runtime crash, or CS#### error code and wants it diagnosed and fixed.
## When to Invoke
- User pastes CS#### error text (e.g. `CS0246`, `CS0677`, `CS1061`, etc.)
- Compile fails after deploy — errors returned from `nt8-ai-loop.ps1`
- NinjaScript indicator or strategy causes NT8 to crash or hang on load
- User says "it won't compile" or "there's an error in the indicator"
## Skill Entry Point
1. Load `knowledge.md` in this directory for the error taxonomy, fix patterns, and NT8 constraints
2. Read the failing `.cs` file from `ninjatrader/Custom/` (repo source — NOT the deployed NT8 copy)
3. Apply the fix
4. Run `nt8-ai-loop.ps1 -SourceFile <path>` to deploy + compile + get errors as JSON
5. Iterate until `[COMPILE-RESULT] SUCCESS` with empty error JSON
## Invariants
- NEVER edit files under `C:\Users\Tea\Documents\NinjaTrader 8\` — that is the deployed copy. Always edit repo source under `C:\Users\Tea\DEEP6\ninjatrader\Custom\`
- NEVER click Build in Visual Studio — NT8 owns compilation
- After fixing, always call `nt8-ai-loop.ps1` to confirm the fix compiled cleanly
- If errors remain after 3 iterations, escalate to the user with full error JSON and the current file state
## OpenCode Skills (Universal NT8 Knowledge)
For universal NT8 error knowledge, invoke these opencode skills:
- `ninjatrader-error-doctor` — Error diagnosis, CS error codes, runtime exceptions
- `ninjatrader-machine-profile` — NT8 platform, installation, lifecycle, namespaces
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |