Skip to content

docs: add repository-local ECC skills - #205

Open
zhaoxueyan1 wants to merge 1 commit into
mainfrom
codex/repository-skills
Open

docs: add repository-local ECC skills#205
zhaoxueyan1 wants to merge 1 commit into
mainfrom
codex/repository-skills

Conversation

@zhaoxueyan1

Copy link
Copy Markdown
Member

Summary

  • add repository-local skills for running and testing ECC and for persistent native debugging in tmux
  • register the repository copies in CLAUDE.md and make them authoritative over same-named user-level skills
  • document current CLI and Workspace contracts, native import provenance, safe rerun boundaries, Yosys/Slang readiness, and quoted tmux/GDB launch workflows

Validation

  • both skill directories pass skill-creator quick_validate.py
  • git diff --check passes
  • Yosys runtime and Slang plugin readiness probe passes with Yosys 0.60
  • tmux command quoting probe preserves a Workspace path containing spaces

Copilot AI lite review requested due to automatic review settings August 10, 2026 12:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds repository-local Agent Skills under SKILLS/ to standardize how contributors (and agents) set up an ECC checkout, run CLI/Workspace flows, select focused tests, and perform persistent native debugging in tmux; it also registers these skills in CLAUDE.md as authoritative for this repository.

Changes:

  • Add run-and-test-ecc skill documenting environment setup (Nix/uv), CLI/Workspace contracts, rerun boundaries, test selection, and import provenance checks.
  • Add debug-ecc-in-tmux skill documenting reproducible GDB/cuda-gdb workflows inside persistent tmux sessions (including attach flows).
  • Register both repository-local skills in CLAUDE.md and add agents/openai.yaml metadata for each skill.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
SKILLS/run-and-test-ecc/SKILL.md New skill documenting setup + run/test workflows and Workspace contracts.
SKILLS/run-and-test-ecc/agents/openai.yaml Adds agent UI metadata pointing to $run-and-test-ecc.
SKILLS/debug-ecc-in-tmux/SKILL.md New skill documenting persistent tmux-based native debugging workflows.
SKILLS/debug-ecc-in-tmux/agents/openai.yaml Adds agent UI metadata pointing to $debug-ecc-in-tmux.
CLAUDE.md Registers repository-local skills and states they are authoritative for this checkout.
Suppressed comments (1)

SKILLS/debug-ecc-in-tmux/SKILL.md:166

  • Hard-coding /usr/bin/gdb can fail on systems where GDB is not installed there (notably Nix). Prefer gdb from PATH for portability.
tmux new-session -d -s "$session" -c "$repo" "exec /usr/bin/gdb -p $pid"
tmux attach -t "$session"

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CLAUDE.md
Comment on lines +17 to +19
- `SKILLS/debug-ecc-in-tmux/SKILL.md`: persistent GDB/cuda-gdb debugging for
ECC Python, C++, pybind, iDB/iRT, and CUDA failures.

Comment on lines +64 to +65
debug_command="exec env SKBUILD_EDITABLE_SKIP=$quoted_skip_paths PYTHONFAULTHANDLER=1 PYTHONUNBUFFERED=1 /usr/bin/gdb --args $quoted_python -m chipcompiler.cli.main run --workspace $quoted_workspace --only place --force --json"
tmux new-session -d -s "$session" -c "$repo" "$debug_command"
Comment on lines +154 to +155
ps -eo pid,ppid,stat,etime,cmd | rg 'chipcompiler.cli.main|\.venv/bin/python'
repo=$(git rev-parse --show-toplevel)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants