Agent skill
Source Maps
Expert skill for generating and consuming source maps for debugging compiled code
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/source-maps
SKILL.md
Source Maps Skill
Overview
Expert skill for generating and consuming source maps for debugging compiled code.
Capabilities
- Generate source maps in various formats (V3 JSON, DWARF)
- Map generated positions to original source
- Handle inlined functions in source maps
- Implement source map composition/chaining
- Generate VLQ-encoded mappings
- Support names array for identifiers
- Handle multi-file source map indices
- Integrate with debuggers and stack traces
Target Processes
- source-map-generation.js
- code-generation-llvm.js
- debugger-adapter-development.js
- jit-compiler-development.js
Dependencies
Source map V3 specification
Usage Guidelines
- Accuracy: Ensure precise mapping between generated and original positions
- Inlining: Handle inlined code with multiple source locations
- Composition: Support chaining for multi-stage compilation
- Efficiency: Use VLQ encoding for compact representations
- Integration: Test with actual debuggers to verify correctness
Output Schema
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": ["v3-json", "dwarf", "pdb"]
},
"features": {
"type": "array",
"items": { "type": "string" }
},
"inlineSupport": { "type": "boolean" },
"generatedFiles": {
"type": "array",
"items": { "type": "string" }
}
}
}
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?