Source Maps
Expert skill for generating and consuming source maps for debugging compiled code
Best use case
Source Maps is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Expert skill for generating and consuming source maps for debugging compiled code
Teams using Source Maps should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/source-maps/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Source Maps Compares
| Feature / Agent | Source Maps | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Expert skill for generating and consuming source maps for debugging compiled code
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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
1. **Accuracy**: Ensure precise mapping between generated and original positions
2. **Inlining**: Handle inlined code with multiple source locations
3. **Composition**: Support chaining for multi-stage compilation
4. **Efficiency**: Use VLQ encoding for compact representations
5. **Integration**: Test with actual debuggers to verify correctness
## Output Schema
```json
{
"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" }
}
}
}
```Related Skills
primary-source-evaluation
Authenticate, date, and critically assess historical documents for provenance, reliability, and bias with systematic source criticism methodology
resource-estimator
Quantum resource estimation skill for algorithm feasibility analysis
resource-leveling
Optimize resource allocation to eliminate overallocation while minimizing schedule impact
resource-scheduler
Resource scheduling and assignment optimization skill for personnel and equipment allocation
mcp-resource-uri-designer
Design and implement MCP resource URI schemes and templates with proper naming, hierarchy, and documentation.
process-builder
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
babysitter
Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)
yolo
Run Babysitter autonomously with minimal manual interruption.
user-install
Install the user-level Babysitter Codex setup.
team-install
Install the team-pinned Babysitter Codex workspace setup.
retrospect
Summarize or retrospect on a completed Babysitter run.
resume
Resume an existing Babysitter run from Codex.