{"product_id":"ai-agent-skill-master-typescript-ast-template-modifications","title":"AI Agent Skill: Master TypeScript AST Template Modifications","description":"\u003ch3\u003eAI Agent Skill: Master TypeScript AST Template Modifications\u003c\/h3\u003e\n\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this skill does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTriggers automatically whenever modifications are detected in files matching the path \u003ccode\u003epackages\/engine\/src\/**\/templates\/*.ts\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eConducts mandatory syntax verification by executing \u003ccode\u003enpm run typecheck\u003c\/code\u003e or \u003ccode\u003enpx tsc --noEmit\u003c\/code\u003e after any change, halting further action if syntax errors are detected.\u003c\/li\u003e\n  \u003cli\u003eImplements 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 \u003ccode\u003egit checkout --\u003c\/code\u003e. Outputs a specific message upon reversion: \"ABORT: Reverting due to unresolvable AST compilation error.\"\u003c\/li\u003e\n  \u003cli\u003eRestricts the use of the \u003ccode\u003emulti_replace_file_content\u003c\/code\u003e tool for template refactors if string modifications exceed 50 lines.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWho it is for\u003c\/h3\u003e\n\u003cp\u003eThis 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.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSeamlessly update TypeScript AST templates during large-scale project refactoring, ensuring each change is syntactically verified before consolidation.\u003c\/li\u003e\n  \u003cli\u003eEnhance collaborative development workflows by automating template syntax checks, reducing potential for human error during manual template modifications.\u003c\/li\u003e\n  \u003cli\u003eDevelop and maintain TypeScript-heavy applications with reliability, thanks to enforced fallback mechanisms that maintain project integrity.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCompatibility with AI coding agents: Claude Code, Cursor, Codex.\u003c\/li\u003e\n  \u003cli\u003eIncorporates tools such as \u003ccode\u003enpm\u003c\/code\u003e and \u003ccode\u003enpx\u003c\/code\u003e for syntax verification.\u003c\/li\u003e\n  \u003cli\u003eUtilizes \u003ccode\u003egit\u003c\/code\u003e for version control, specifically employing \u003ccode\u003egit checkout\u003c\/code\u003e for safe rollbacks.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c!-- mcpcart:static-blocks:start --\u003e\n\u003chr\u003e\n\u003ch3\u003eSource \u0026amp; Licence\u003c\/h3\u003e\n\u003cp\u003eThis package is built on open-source work published by \u003cstrong\u003eivanestar\u003c\/strong\u003e (\u003ca href=\"https:\/\/github.com\/ivanestar\/eitr\" rel=\"nofollow noopener\" target=\"_blank\"\u003eivanestar\/eitr\u003c\/a\u003e) and distributed under \u003cstrong\u003eApache-2.0\u003c\/strong\u003e. The original licence text and copyright notice are included in your download.\u003c\/p\u003e\n\u003cp\u003ePersonal 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.\u003c\/p\u003e\n\u003cp\u003eYour 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.\u003c\/p\u003e\n\u003ch3\u003eDelivery \u0026amp; Support\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eDelivery:\u003c\/strong\u003e instant — a secure download link is emailed to you as soon as payment is confirmed.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFormat:\u003c\/strong\u003e ZIP archive containing the skill files, documentation and the original licence.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSupport:\u003c\/strong\u003e \u003ca href=\"mailto:support@mcpcart.com\"\u003esupport@mcpcart.com\u003c\/a\u003e — we aim to reply within 2 business days.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eUpdates:\u003c\/strong\u003e updates are included only where stated on this page.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eRefunds\u003c\/h3\u003e\n\u003cp\u003eThis 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.\u003c\/p\u003e\n\u003cp style=\"font-size:0.85em;color:#666;\"\u003eClaude, 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.\u003c\/p\u003e\n\u003c!-- mcpcart:static-blocks:end --\u003e","brand":"MCP Cart","offers":[{"title":"Default Title","offer_id":52952458592567,"sku":"MCP-IVANESTAR-EITR-AST-TEMPLATE-ENGINEER","price":28.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0981\/3950\/4951\/files\/djk_k78YWcsNVzxpT-27H_1e938e622853499e9e5441251712e91a.jpg?v=1788696190","url":"https:\/\/mcpcart.com\/products\/ai-agent-skill-master-typescript-ast-template-modifications","provider":"SPF PRO","version":"1.0","type":"link"}