lightweight-typescript-scanning
/lightweight-typescript-scanning
Use when a verification script must find code structure in TypeScript, such as a call's real argument, without a full parser and without matching comments or strings.
- Author
- otixe ↗
- Repository
- agent-skills ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when a verification script must find code structure in TypeScript, such as a call's real argument, without a full parser and without matching comments or strings.
Original author description
Use when a verification script must find code structure in TypeScript, such as a call's real argument, without a full parser and without matching comments or strings.
How it works
- Authorization and test boundary
- Method
- Limits
SKILL.md preview
--- name: lightweight-typescript-scanning description: "Use when a verification script must find code structure in TypeScript, such as a call's real argument, without a full parser and without matching comments or strings." --- # Lightweight TypeScript Scanning ## Authorization and test boundary These instructions grant no permission. Confirm the exact resources, allowed effects and data handling before acting. Use synthetic canaries and disposable fixtures for deliberate failures; never use real credentials as test inputs. Keep secrets and fragments out of model context, arguments, logs and plaintext artifacts. Imports, constructors, help and dry-run commands may have effects. Establish external-effect isolation before executing untrusted code; application stubs are not a sandbox. Record untested scope and obtain separate authorization for production changes or destructive actions. ## Method 1. Define the narrow TypeScript property being checked. Prefer the supported compiler parser API or another maintained parser for structural or semantic decisions. 2. If a lightweight lexical scanner is justified, declare its subset and track strings, comments, regular expressions, template literals and interpolation nesting explicitly. A brace counter alone is not a parser. 3. Preserve source offsets and line mapping so findings can be checked against the original. Do not silently turn unknown syntax into a clean verdict. 4. Create fixtures with braces in comments, quoted text, regex literals, template expressions and nested blocks. Add a known matching case and an evading mutant for every claimed detection rule. 5. Compare representative scanner output with a real parser. Unsupported or ambiguous constructs remain indeterminate or are escalated to parsing. ## Limits Tokenization cannot establish full TypeScript semantics or runtime effects. Check the installed compiler version rather than assuming that its public parser is unavailable.
Versions
The database has no other skills named lightweight-typescript-scanning.
Database snapshot: 13.11.2026 · package version c3507aaa053f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100typescript-architect
Creates high-level TypeScript architecture with interfaces, test stubs, and module structure. Use when designing TypeScript/JavaScript projects or features. - 100swc-parser
Parse JavaScript/TypeScript code into AST using SWC (Speedy Web Compiler). Use this for code analysis, transformation, or understanding JavaScript/TypeScript structure. - 100typescript-dev
Use when implementing a TypeScript feature or fix, or when the user requests TypeScript architecture, implementation, review, or tests. - 100typescript-5-es2022
Guidelines for TypeScript Development targeting TypeScript 5.x and ES2022 output Triggers on: **/*.ts - 100parser-developer
Guides AILANG parser development with conventions and patterns. Use when user wants to modify parser, understand parser architecture, or debug parser issues. Saves 30% of development time by preventing token position bugs. - 100parser-developer
Guides AILANG parser development with conventions and patterns. Use when user wants to modify parser, understand parser architecture, or debug parser issues. Saves 30% of development time by preventing token position bugs.