/code:autofix-markdown-tablesfrom code
Use this skill to automatically fix misaligned markdown tables in .md files. Triggers after editing any markdown file that contains a table, before finishing documentation work, or when the user says "fix the tables", "align the markdown tables", or "format the markdown". Uses the project's own task (`md:fix-tables` in Specs projects) or markdown formatter (e.g. Prettier) when it has one, and otherwise runs markdown-table-formatter via Docker, so columns are properly padded and aligned. After running, always review the diff to confirm only formatting changed — no content should be altered.
Ships in code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Automatically detect and fix misaligned markdown tables across all .md files in the project.
Align the tables with task md:fix-tables, or the project's equivalent. Use the first of these that
the project has.
Specs projects ship a task for this. Check first:
task --list | grep -E 'md:(fix-tables|fixstyle)'
Projects with another task name for it (e.g. lint:md:fix, docs:format) use that one.
task md:fix-tables # tables only
task md:fixstyle # tables + markdownlint --fix
Use md:fixstyle when the project also lints markdown in CI (a Markdown workflow running
markdownlint-cli2) — aligning tables alone can still leave the linter red.
When the project formats markdown with another tool, use that tool instead, so two formatters don't
fight over the same tables. For example Prettier (a prettier dependency or a .prettierrc* config,
and markdown not excluded in .prettierignore) also aligns tables: run the project's format script
(e.g. <pm> run format) or prettier --write on the changed .md files. Look for it in the
package.json and composer scripts, Makefile targets and the CI workflows. Run it the way the
project runs its tools (in PHP projects: through the executing-commands skill of the php plugin).
docker run --rm --volume $(pwd):/app --workdir /app node:24.15.0-bookworm bash -c "shopt -s globstar && npx --yes markdown-table-formatter **/*.md"
This command:
shopt -s globstar to enable recursive ** glob expansion in bashmarkdown-table-formatter on every .md file found recursivelyAfter the formatter runs, check what was changed:
git diff --stat
For a detailed view of the actual table changes:
git diff
Verify that only whitespace/padding inside table cells changed — no content, wording, or structure should be altered. If unexpected changes appear, investigate before proceeding.
If the diff looks correct, the tables are properly aligned and the files are ready to commit. No further action is needed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub specsnl/agent-skills --plugin code3 skills in this plugin
/autonomous-executionUse this skill whenever a skill or command would stop, abort, wait for confirmation or ask the user — a dirty working tree, an existing branch, a failing step, an ambiguous requirement, a missing tool or credential — and in every headless, CI, scheduled or background run. It defines the shared "never dead-end" convention: resolve the situation safely or skip only the affected part, carry on with the rest, ask only when someone can answer, respect the hard limits (never destroy others' work, never weaken checks, never publish secrets), record every decision in the result, and file a sanitized "skill gap" issue for situations a skill doesn't cover yet.
/code-commentsUse this skill whenever writing or changing code in any language — implementing a feature, fixing a bug, refactoring, or scaffolding a file — to decide whether a comment is warranted at all before writing one. The default is no comment. Also triggers when the user says "too many comments", "stop adding comments", "this is too verbose", "should this be documented?", "add a docblock", "clean up the comments", or reviews a diff full of narration. Covers the short allowlist of warranted comments, the ban list (restating the code, duplicating one rationale across sites, section banners, redundant docblocks, diff/session narration, commented-out code), style rules, and a pre-finish sweep of the diff.
Other plugins' skills for the same job