بنقرة واحدة
dev-setup
Interactive wizard to install and configure all development tools for new maintainers
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Interactive wizard to install and configure all development tools for new maintainers
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when you want to take a Backlog issue all the way to Final review without manual orchestration — chains check-issue, fix-issue, add-model/add-rule, run-pipeline, and review-pipeline; substantive issue-quality problems are sent to a rewrite subagent; algorithmically unsalvageable issues are parked on OnHold
Use when reviewing a [Rule] or [Model] GitHub issue for quality before implementation — checks usefulness, non-triviality, correctness of literature claims, and writing quality
Use when a user wants to propose a new problem model or reduction rule — guides them through brainstorming, clarifies the design, and files a GitHub issue
Review the Typst paper (docs/paper/reductions.typ) for quality issues — evaluates 10 entries per session, reports mechanical and critical issues without fixing
Reverse of find-solver — given a solver for a model, discover what other problems it can handle via incoming reductions, ranked by effective complexity
Interactive guide — match a real-world problem to a library model, explore reduction paths, recommend solvers (built-in + external), and generate a solution doc
| name | dev-setup |
| description | Interactive wizard to install and configure all development tools for new maintainers |
Interactive wizard that helps new maintainers install and configure all tools needed for the problemreductions project.
Check if skills/dev-setup/dependencies.md exists and has content.
If it exists, ask the user:
"Found existing dependencies checklist. Use it as-is, or rescan project files for changes?"
dependencies.md and proceed to Step 2dependencies.md, then proceedIf it does not exist, scan project files and generate dependencies.md with the format shown in the existing file. Then proceed.
When scanning, read these files for tool references:
Makefile — tool invocations (cargo, mdbook, typst, uv, julia, python3, jq, gh, claude).claude/skills/*/SKILL.md — CLI references (gh, git, make, cargo, claude, pred).github/workflows/*.yml — installed tools, rustup components, and actionsscripts/pyproject.toml — Python tooling (uv)scripts/jl/Project.toml — Julia dependencyCargo.toml / problemreductions-cli/Cargo.toml — feature flags and build depsOrganize tools into three tiers in dependencies.md:
Each tool needs: name, check command, install command (macOS), install command (Linux), purpose.
uname -s
Darwin → use macOS install commandsLinux → use Linux install commandsFor each tool in the Core Tools table of dependencies.md:
[tool] installed and continueAfter all core tools are done, ask:
"Core tools are installed. Do you also want to set up the AI pipeline tools (gh, claude, pred)?"
For each tool in the Skill Tools table:
[tool] installed and continueNote: pred is built from the local workspace. Use cargo install --path problemreductions-cli.
After skill tools, ask:
"Want to install optional tools (julia)?"
Skip this step if the user declined skill tools in Step 3.
gh auth status
If not authenticated, run gh auth login.
gh repo view --json name
If this fails, the user needs repo access. Explain how to request it.
gh project list --owner <org-or-user>
If this fails with permission errors, run:
gh auth refresh -s read:project,project
Explain that the project-pipeline and review-pipeline skills require these OAuth scopes.
Run the full check:
make check
This runs fmt-check + clippy + test. Print a pass/fail summary for each stage.
| Failure | Fix |
|---|---|
fmt-check fails | Run make fmt to auto-fix |
| Linker errors in clippy/test | Missing C/C++ toolchain for ilp-highs feature. Install Xcode CLT (xcode-select --install on macOS) or build-essential (sudo apt install build-essential on Linux) |
| "HiGHS not found" or cmake errors | Install cmake: brew install cmake (macOS) or sudo apt install cmake (Linux) |
cargo llvm-cov fails with "missing llvm-profdata" | rustup component add llvm-tools-preview |
If make check passes and the user declined skill tools, print:
"Setup complete! All core tools installed and verified. You're ready to contribute."
If it fails, walk through the troubleshooting table and offer to run the fix commands.
If the user installed skill tools, also verify the autonomous pipeline works:
6b: Test make run-pipeline prerequisites
# Verify gh can access the project board
gh project item-list 8 --owner CodingThrust --format json --limit 1
If this fails, the user likely needs org-level project scopes:
gh auth refresh -s read:project,project
6c: Test claude CLI
claude --version
If all pipeline checks pass, explain the project-based contribution pipeline:
Setup complete! All tools installed and verified.
How the Project Pipeline Works
This project uses a GitHub Project board to track issues through an automated pipeline. Issues flow through these columns:
Ready → In Progress → Review pool → Under review → Final review → DoneTwo
makecommands drive this pipeline:
make run-pipeline(issue → PR)Picks the next Ready issue, moves it to In Progress, implements it (using
/issue-to-pr→/add-modelor/add-rule), creates a PR, then moves it to Review pool.
make run-review(PR → review)Picks the next Review pool PR, runs agentic review (structural + quality + feature tests), then moves it to Final review for human approval.
Targeting specific items
make run-pipeline N=42— process issue #42make run-review N=570— process PR #570Available skills for manual work
You can also invoke individual skills directly:
/issue-to-pr 42— convert a specific issue into a PR/add-model— interactively add a new problem model/add-rule— interactively add a new reduction rule/fix-pr— fix review comments and CI on the current PR/release— prepare a new crate release