AI Agent Skill: Master TypeScript AST Template Modifications
Regular price
£28.99
Regular price
£28.99
Sale price
Unit price/ per
SAVE
Sold out
AI Agent Skill: Master TypeScript AST Template Modifications
The AI Agent Skill enables controlled and precise modifications of TypeScript Abstract Syntax Tree (AST) templates within the EITR engine. It ensures that changes remain syntactically valid TypeScript and guarantees successful code generation by enforcing strict compilation checks and a two-strike fallback rule for modifications.
What this skill does
Triggers automatically whenever modifications are detected in files matching the path packages/engine/src/**/templates/*.ts.
Conducts mandatory syntax verification by executing npm run typecheck or npx tsc --noEmit after any change, halting further action if syntax errors are detected.
Implements a two-strike rule where, after two consecutive syntax check failures on the same file, modifications are aborted and reverted to the last committed state using git checkout --. Outputs a specific message upon reversion: "ABORT: Reverting due to unresolvable AST compilation error."
Restricts the use of the multi_replace_file_content tool for template refactors if string modifications exceed 50 lines.
Who it is for
This skill is ideal for developers and teams utilizing AI coding agents such as Claude Code, Cursor, and Codex. It supports users engaged in developing and maintaining complex TypeScript projects requiring impeccable template management.
Use cases
Seamlessly update TypeScript AST templates during large-scale project refactoring, ensuring each change is syntactically verified before consolidation.
Enhance collaborative development workflows by automating template syntax checks, reducing potential for human error during manual template modifications.
Develop and maintain TypeScript-heavy applications with reliability, thanks to enforced fallback mechanisms that maintain project integrity.
Technical details
Compatibility with AI coding agents: Claude Code, Cursor, Codex.
Incorporates tools such as npm and npx for syntax verification.
Utilizes git for version control, specifically employing git checkout for safe rollbacks.
Source & Licence
This package is built on open-source work published by ivanestar (ivanestar/eitr) and distributed under Apache-2.0. The original licence text and copyright notice are included in your download.
Personal and commercial use, modification and redistribution are permitted under the Apache License 2.0, which also includes an express patent grant. Attribution and any NOTICE file must be retained.
Your purchase covers curation, licence verification, packaging, documentation and instant delivery. It does not grant exclusive rights to the underlying open-source code, which remains available under its original licence.
Delivery & Support
Delivery: instant — a secure download link is emailed to you as soon as payment is confirmed.
Format: ZIP archive containing the skill files, documentation and the original licence.
Updates: updates are included only where stated on this page.
Refunds
This is a digital product delivered immediately after purchase. By completing your order you request immediate delivery and acknowledge that, once the download has been accessed, the statutory right to cancel no longer applies to the extent permitted by law. Refund requests are handled in accordance with our published Refund Policy.
Claude, Codex, Gemini and Cursor are trademarks of their respective owners. MCP Cart is an independent marketplace and is not affiliated with, endorsed by, or sponsored by any of them. Compatibility references describe interoperability only.