— No reviews yet
0 installs
3 views
0.0% view→install
Install
$ agentstack add skill-caraya-agent-skills-typescript-performance ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Typescript Performance? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
TypeScript Performance
Use When
- Profiling TypeScript applications for CPU, memory, or bundle size issues.
- Analyzing type-checking and build time performance.
- Optimizing bundle size and startup time.
Profiling Tools
- Node.js profiling
- CPU:
node --prof app.jsthennode --prof-processto analyze. - Memory: Use Chrome DevTools heap snapshots or
--inspect. - Flame graphs: Use
0xpackage or native--prof+ tools.
- Build and bundle analysis
- Type-checking:
tsc --diagnosticsortsc --listFilesto trace performance. - Bundle: Use
webpack-bundle-analyzer,rollup-plugin-visualizer, oresbuild --metafile. - Sourcemap impact: Check
.mapfile sizes; consider source-map-loader overhead.
- Type-checking overhead
- Profile
tsccompilation:time tsc --noEmit. - Check for expensive patterns: deeply nested generics, complex type unions, circular type references.
Checklist
- Type-checking and build performance
- Are expensive type operations (deep generics, complex unions) unavoidable, or can they be simplified?
- Is type-checking parallelizable? Use
project referencesfor large monorepos. - Are sourcemaps necessary for production? Remove them for speed/size.
- Runtime performance
- Identify hot paths with CPU profiling; focus optimization there.
- Check for unnecessary object allocations in loops.
- Verify async operations are not blocking the event loop.
- Bundle and startup
- Analyze bundle composition: what is the largest and most-imported module?
- Check for dead code; use tree-shaking rules in tsconfig and bundler.
- Consider code splitting and lazy loading for large features.
- Memory efficiency
- Look for large object retention or circular references in heap dumps.
- Check for memory leaks from event listeners or timers not cleaned up.
Output Requirements
For each finding provide:
- Measurement (current baseline, profiling evidence).
- Root cause and impact.
- Optimization strategy with expected improvement.
- Effort and risk assessment.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: caraya
- Source: caraya/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.