debug-cli
Skill by tailcallhq
Guides an assistant through debugging, modifying and verifying the forge CLI application. It covers debug builds, command help, prompt-based testing and conversation dumps or clones. Written for developers working on forge.
Install debug-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tailcallhq/forgecode /tmp/forgecode && mkdir -p ~/.claude/skills && cp -r /tmp/forgecode/.forge/skills/debug-cli ~/.claude/skills/debug-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tailcallhq/forgecode /tmp/forgecode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/forgecode/.forge/skills/debug-cli ~/.gemini/antigravity-cli/skills/debug-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The debug-cli skill gives an AI assistant a repeatable workflow for debugging and verifying changes to the forge CLI application. It starts by building the app in debug mode with cargo build and reading the current commands through --help. Testing is done by giving forge tasks with the -p flag instead of interactive mode.
For conversation bugs, the skill covers conversation dump, which exports a conversation as timestamped JSON or HTML with the --html flag, and conversation clone, which copies a conversation so the original stays unchanged. It also sets rules to never commit during debugging. It is aimed at developers working on the forge codebase who need to debug, modify, or extend its CLI commands and argument parsing.
Written from the project's SKILL.md and checked against it.
What it can do
- Debug buildBuilds the application with cargo build and advises against release builds for debugging.
- Command helpChecks current commands and options with --help at main, command and subcommand level.
- Prompt testingRuns forge with the -p flag to give it a task without interactive mode.
- Conversation dumpExports a conversation as a timestamped JSON file, or HTML with the --html flag.
- Conversation cloneClones a source conversation so bug reproduction leaves the original unchanged.
- Bug reproductionWalks through dumping, cloning and re-running a reported bug, then verifying the fix.
- Edge case testsSuggests test runs for missing arguments, invalid input and boundary values.
What you need
- Rust toolchain with cargo, to run cargo build
- The forge CLI codebase, with the binary built at ./target/debug/forge
Try asking
- Help me debug a bug in forge's CLI argument parsing
- Clone this conversation and reproduce the bug in the clone
- Add a new forge command and test it with the -p flag
Good to know
- Intended for debugging only, so changes should not be committed.
- Written for the forge application and its ./target/debug/forge paths.
- The source advises against cargo build --release for debugging.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .forge/skills/debug-cli/SKILL.md, .forge/skills/debug-cli/scripts/test_cli.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
scripts/README.md282 B -
scripts/test_cli.sh1 KB
Alternatives to debug-cli
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
debug-cli: common questions
Does this skill commit code changes?
No. The source says never to commit during debugging, and only after full verification.
How does it avoid changing a bug conversation?
It clones the source conversation with conversation clone and tests on the clone, so the original is not modified.
What formats does conversation dump support?
It creates a timestamped JSON file by default, and a timestamped HTML file when the --html flag is used.
How do I install debug-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-cli free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is debug-cli safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debug-cli?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
