document
Byte-identical source reconstruction of Alien Soldier for Sega Mega Drive/Genesis, with reverse-engineering documentation and runtime validation.
Install / Use
npx skills add RetrolariumLab/alien_soldier_srcInstalls into whichever agent you are using.
Claude Commands
Claude Code slash commands
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of document
document scores 66/100 on our quality scale, 1101st of 1,185 Content & Media skills we index.
Its Claude Commands is 3.7 KB long, well organised into 14 sections with 4 code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
document compared with similar skills
All 4 of these similar skills score higher than document; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| document (this skill)by RetrolariumLab | 66 | 0 | — | Claude Commands |
| claude-memby thedotmack | 100 | 100.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 97.2k | 6d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 96.0k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 86.2k | 2d ago | CLAUDE.md |
Frequently asked questions
- How do I install document?
- Run
npx skills add RetrolariumLab/alien_soldier_src. The install tabs above show the steps for each supported agent. - Which AI agents does document work with?
- It is written for Claude Code, as a Claude Commands file. Other agents that read the same format can often use it too.
- Is document safe to use?
- It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is document still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubDocument Procedures Skill
Documents a batch of assembly procedures by analyzing their code and creating rename mappings.
Trigger
Use /document or /document COUNT to document procedures.
Workflow
- Read
workflow/batch_procedures.txt(created bymake prepare-batch) - Analyze each procedure's code and context
- Create
workflow/rename_batch.csvwith new names
Instructions
When this skill is invoked:
Step 1: Check Prerequisites
Verify workflow/batch_procedures.txt exists. If not, tell user to run:
make prepare-batch COUNT=40
Step 2: Read Batch File
Read workflow/batch_procedures.txt which contains:
- Procedure code listings
- Scene and frame context
- Memory change indicators (RAM, VDP, Z80, YM2612, PSG)
- Visual diff paths
Step 3: Analyze Each Procedure
For each procedure, determine:
-
What it does - Read the assembly code
-
Category - Based on operations:
Gfx_- VDP registers, VRAM writes, DMA, palettesSys_- System init, main loop, memory clearSound_- Z80, audio, YM2612, PSGInput_- Controller readingPhysics_- Movement, collisionSprite_- Sprite table, OAMAnim_- Animation framesEffect_- Visual effectsPlayer_- Player logicBoss_- Boss AIEnemy_- Enemy AIUI_- HUD, menus, textMath_- Calculations, RNGStage_- Level logicObject_- Game objectsData_- Data processing, decompression
-
Descriptive name - Action-oriented:
Category_VerbNoun- Good:
Gfx_LoadTilesToVRAM,Player_CheckDeath - Bad:
DoStuff,Process,Handler
- Good:
Step 4: Create CSV
Create workflow/rename_batch.csv:
old_name,new_name,description
sub_1234,Gfx_LoadSegaTiles,Loads Sega logo tiles to VRAM via DMA
loc_5678,Sys_MainLoop,Main game loop that calls update routines
Rules:
- First line must be header:
old_name,new_name,description - Use double quotes around descriptions with commas
- No duplicate new_name values
- Names must be valid assembly labels (alphanumeric + underscore, start with letter)
Step 5: Summary
Report:
- Total procedures documented
- Categories breakdown (how many Gfx_, Sys_, etc.)
- Any uncertain procedures that need human review
Naming Heuristics
Code Patterns → Categories
| Pattern | Category |
|---------|----------|
| move.* (VDP_CTRL) | Gfx_ |
| move.* (VDP_DATA) | Gfx_ |
| jsr.*DMA | Gfx_ |
| move.* (Z80_*) | Sound_ |
| move.* (YM2612_*) | Sound_ |
| move.* (IO_DATA*) | Input_ |
| move.* (word_FFF7*) | Input_ (controller state) |
| jsr.*Random | Math_ |
| clr/move (word_FF*) | RAM variable access |
| rts only | Short helper or stub |
Scene Context → Naming
| Scene | Likely Content |
|-------|----------------|
| Sega screen | Init, logo, system setup |
| Title screen | Menu, options, UI |
| Stage * | Gameplay, enemies, player |
| Boss * | Boss AI, attacks |
| Results | Score, UI |
Example Analysis
Procedure: sub_4BA
Scene: Sega screen
Code:
move.w #$8F02,(VDP_CTRL).l
move.l #$40000003,(VDP_CTRL).l
lea (TilesData_Sega).l,a0
move.w #$2000,d0
jsr (Gfx_DMATransfer).l
rts
Analysis:
- Sets VDP auto-increment ($8F02)
- Sets VRAM write address
- Loads Sega tiles address
- Transfers 8KB via DMA
- Category: Gfx_
- Name: Gfx_LoadSegaLogoTiles
- Description: Loads Sega logo tile graphics to VRAM via DMA
CSV entry:
sub_4BA,Gfx_LoadSegaLogoTiles,Loads Sega logo tile graphics to VRAM via DMA
After Completion
Tell the user to run:
make rename # Apply renames
make build && make compare # Verify ROM unchanged
git add alien_soldier_j.s && git commit
Related Skills
claude-mem
100.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
97.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
96.0kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Understand-Anything
86.2kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
