enforce-rules-for-typescript
Skill by moeru-ai
Enforces AIRI's TypeScript and Vue source rules for imports, naming, comments, JSDoc, fallbacks, stateful code, and module design. It is for developers writing, refactoring, or reviewing source code in the AIRI monorepo.
Install enforce-rules-for-typescript
Built from the published package, never by AI.
git clone --depth 1 https://github.com/moeru-ai/airi /tmp/airi && mkdir -p ~/.claude/skills && cp -r /tmp/airi/.agents/skills/enforce-rules-for-typescript ~/.claude/skills/enforce-rules-for-typescriptRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install enforce-rules-for-typescript in Claude Code
git clone --depth 1 https://github.com/moeru-ai/airi /tmp/airi && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/airi/.agents/skills/enforce-rules-for-typescript ~/.gemini/antigravity-cli/skills/enforce-rules-for-typescriptAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install enforce-rules-for-typescript in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Enforce AIRI's TypeScript and Vue source rules is an agent skill that gives the detailed code rules for the AIRI monorepo. It covers imports and types, naming, comments, JSDoc, fallbacks and precedence, stateful and protocol code, module design, and date and time code. It says it applies to every TypeScript and Vue source change in AIRI.
The skill works alongside the root AGENTS.md file, which gives the core code rules. The rules include specific formats, such as a call-stack diagram for runner and CLI entry points and an example block for normalizers. The source is cut off in its dates and times section, so that part is only partly shown. It is meant for developers working on TypeScript or Vue code in the AIRI monorepo.
Written from the project's SKILL.md and checked against it.
What it can do
- Import and type rulesGuides where types should be imported from and how to fix import or export errors.
- Naming rulesSets rules for naming symbols, functions, nouns, and verbs in domain code.
- Comment rulesExplains when to write comments and which markers to use: TODO, REVIEW, and NOTICE.
- JSDoc rulesExplains when JSDoc is needed, what it should cover, and the call-stack and example formats.
- Fallback rulesMakes fallback precedence explicit and warns against new object or array fallbacks in reactive code.
- Stateful and protocol code rulesCovers state models, correlation keys, pending request handling, and watcher ownership.
- Module design rulesFavors deep modules and warns against shallow modules, pass-through services, and split-by-order files.
What you need
- Access to the AIRI monorepo
- Root AGENTS.md file in the AIRI repository
- TypeScript or Vue source code to review or write
Try asking
- Review this Vue component change against AIRI's TypeScript and Vue source rules.
- Check my new TypeScript module for shallow module and pass-through service issues.
- Add JSDoc and a call-stack diagram to this AIRI CLI entry point.
Good to know
- Covers AIRI's TypeScript and Vue source code only.
- Relies on the root AGENTS.md for the core code rules.
- The dates and times section is cut off in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/enforce-rules-for-typescript/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md17 KB -
agents/openai.yaml252 B
Alternatives to enforce-rules-for-typescript
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
enforce-rules-for-typescript: common questions
Who is this AIRI TypeScript rules skill for?
It is for writing, refactoring, or reviewing TypeScript or Vue source code in the AIRI monorepo. The source says it applies to every TypeScript and Vue source change in AIRI.
How does this skill relate to AGENTS.md?
The root AGENTS.md gives the core code rules. This skill gives the detailed rules for imports, naming, comments, JSDoc, fallbacks, and module design.
Does it set rules for comments and JSDoc?
Yes. It says when to write comments, which markers to use, and when JSDoc is needed. It also gives formats for call-stack diagrams and @example blocks.
How do I install enforce-rules-for-typescript?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is enforce-rules-for-typescript free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is enforce-rules-for-typescript safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to enforce-rules-for-typescript?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
