tool-asmstyle

Formats z88dk assembly source files using the z88dk-asmstyle binary.

1.1k|206|Updated Mar 16, 2016
One-click install
npx skills add https://github.com/z88dk/z88dk --skill tool-asmstyle-z88dk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tool-asmstyle
Source: https://github.com/z88dk/z88dk/tree/main/.agents/skills/tool-asmstyle
Command: npx skills add https://github.com/z88dk/z88dk --skill tool-asmstyle-z88dk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Assembly files in the z88dk tree can drift into inconsistent formatting styles, making reviews and maintenance harder. This Skill applies the z88dk-asmstyle formatter to normalize assembly source style while respecting the conventions already used by neighboring files. ## Core Features & Use Cases - Assembly Formatting: Runs the z88dk-asmstyle binary over one or more assembly files to enforce a consistent style. - Style Preservation Guidance: Instructs you to match the existing style of neighboring files rather than reformatting library cores to a foreign style. - Use Case: You have edited several .asm files in the z88dk tree and want them reformatted to match the project's assembly style before submitting a patch. ## Quick Start Use the asmstyle tool to reformat my edited z88dk assembly files so they match the style of the surrounding files in the tree.

Frequently Asked Questions about tool-asmstyle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format z88dk assembly files with asmstyle?

Run z88dk-asmstyle followed by the list of assembly files you want to format, for example z88dk-asmstyle file1.asm file2.asm. The tool rewrites the files in place according to the z88dk assembly style.

When should I use z88dk-asmstyle on assembly code?

Use it only when the tree already applies asmstyle to that file family. Do not reformat library cores to a foreign style; always match the formatting of neighboring files instead.

Does z88dk-asmstyle work on any assembly file?

It is designed for assembly sources within the z88dk project that already follow its formatting conventions. Applying it to unrelated codebases or differently styled library cores is discouraged.

What tools are related to z88dk-asmstyle in the toolchain?

The zcc driver front end handles compilation, while measurement workflows use ticks and related methodology tools. Asmstyle focuses purely on source formatting, not compilation or benchmarking.