Skip to content
Merged
9 changes: 0 additions & 9 deletions .ai/skills/cuopt.yaml

This file was deleted.

85 changes: 0 additions & 85 deletions .github/.ai/skills/cuopt.yaml

This file was deleted.

35 changes: 26 additions & 9 deletions .github/AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
# AGENTS.md - AI Coding Agent Guidelines for cuOpt
# AGENTS.md - cuOpt AI Agent Entry Point

This file is intentionally **minimal**. Choose a role and follow the matching rules:
AI agent skills for NVIDIA cuOpt optimization engine.

- **Using cuOpt (model + solve problems)**: `.github/agents/cuopt-user.md`
- **Developing cuOpt (changing this repo)**: `.github/agents/cuopt-developer.md`
## Quick Start

### Machine-readable skill manifest
| Task | Read These Skills |
|------|-------------------|
| **Using cuOpt** (routing, LP, etc.) | `skills/cuopt-user-rules/` → then domain skill |
| **Developing cuOpt** (contributing) | `skills/cuopt-developer/` |

- **Primary**: `.github/.ai/skills/cuopt.yaml`
- **Root shim (compat)**: `.ai/skills/cuopt.yaml`
## Skills Directory

### Canonical contribution guide
See `skills/README.md` for the full index.

- `CONTRIBUTING.md`
### User Skills (read cuopt-user-rules first)
- `skills/cuopt-routing/` — VRP, TSP, PDP
- `skills/cuopt-lp-milp/` — Linear programming, integer variables
- `skills/cuopt-qp/` — Quadratic programming
- `skills/cuopt-debugging/` — Troubleshooting
- `skills/cuopt-installation/` — Setup & requirements
- `skills/cuopt-server/` — REST API deployment

### Developer Skill (has its own rules)
- `skills/cuopt-developer/` — Contributing code
Comment on lines +7 to +25
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

# Check if .github/AGENTS.md exists and read its content
if [ -f ".github/AGENTS.md" ]; then
  echo "=== .github/AGENTS.md exists ==="
  cat -n ".github/AGENTS.md" | head -30
else
  echo ".github/AGENTS.md not found"
fi

Repository: NVIDIA/cuopt

Length of output: 1282


🏁 Script executed:

# Check for skills directories in the repository
echo "=== Checking for skills directories ==="
find . -type d -name "skills" 2>/dev/null | head -20

Repository: NVIDIA/cuopt

Length of output: 112


🏁 Script executed:

# List contents of .github/ to understand structure
echo "=== Contents of .github/ ==="
if [ -d ".github" ]; then
  ls -la ".github/" | head -30
fi

Repository: NVIDIA/cuopt

Length of output: 928


🏁 Script executed:

# Check if there are skills directories at repo root or under .github/
echo "=== Checking repo structure ==="
git ls-files | grep -E "^\.?/?skills/" | head -20

Repository: NVIDIA/cuopt

Length of output: 87


🏁 Script executed:

# List the contents of .github/skills/
echo "=== Contents of .github/skills/ ==="
if [ -d ".github/skills" ]; then
  ls -la ".github/skills/" | head -20
else
  echo ".github/skills/ not found"
fi

Repository: NVIDIA/cuopt

Length of output: 782


🏁 Script executed:

# Check if skills exist at repo root level
echo "=== Checking for skills at repo root ==="
if [ -d "./skills" ]; then
  ls -la "./skills/" | head -20
else
  echo "./skills/ not found at repo root"
fi

Repository: NVIDIA/cuopt

Length of output: 129


🏁 Script executed:

# Get a better listing of what's actually tracked or present
echo "=== All directories under .github/ ==="
find .github -maxdepth 2 -type d | sort

Repository: NVIDIA/cuopt

Length of output: 396


Clarify skill paths as .github/skills/... to avoid ambiguity.

The paths in this document are currently referenced as skills/..., but all these directories actually exist under .github/skills/. While these relative references technically resolve correctly from the document's location, they can be ambiguous when viewed from the repo root or on GitHub. Use explicit .github/skills/... paths throughout to make the references unambiguous.

Affected locations

Quick Start table (lines 9–10), Skills Directory heading (line 14), and all skill paths in the list (lines 17–22, 25).

🤖 Prompt for AI Agents
In @.github/AGENTS.md around lines 7 - 25, Update all relative skill paths in
the AGENTS.md content to be explicit by prefixing them with .github/skills/
(e.g., change occurrences of skills/cuopt-user-rules/, skills/cuopt-developer/,
skills/cuopt-routing/, skills/cuopt-lp-milp/, skills/cuopt-qp/,
skills/cuopt-debugging/, skills/cuopt-installation/, skills/cuopt-server/ and
the reference skills/README.md to .github/skills/cuopt-user-rules/,
.github/skills/cuopt-developer/, .github/skills/cuopt-routing/,
.github/skills/cuopt-lp-milp/, .github/skills/cuopt-qp/,
.github/skills/cuopt-debugging/, .github/skills/cuopt-installation/,
.github/skills/cuopt-server/ and .github/skills/README.md respectively so every
path is unambiguous when viewed from the repo root or GitHub UI.


## Resources

- [cuOpt Documentation](https://docs.nvidia.com/cuopt/user-guide/latest/)
- [cuopt-examples repo](https://github.com/NVIDIA/cuopt-examples)
- [GitHub Issues](https://github.com/NVIDIA/cuopt/issues)
- [Developer Forums](https://forums.developer.nvidia.com/c/ai-data-science/nvidia-cuopt/514)
15 changes: 12 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,18 @@ docs/ @nvidia/cuopt-infra-codeowners
container-builder/ @nvidia/cuopt-infra-codeowners

#CI code owners
/.github/ @nvidia/cuopt-ci-codeowners
/ci/ @nvidia/cuopt-ci-codeowners
/.pre-commit-config.yaml @nvidia/cuopt-ci-codeowners
/.github/ @nvidia/cuopt-ci-codeowners
/ci/ @nvidia/cuopt-ci-codeowners
/.pre-commit-config.yaml @nvidia/cuopt-ci-codeowners

#agent/infra code owners (overrides .github/ for specific paths)
/AGENTS.md @nvidia/cuopt-infra-codeowners
/.ai/ @nvidia/cuopt-infra-codeowners
/.github/.coderabbit_review_guide.md @nvidia/cuopt-infra-codeowners
/.github/ISSUE_TEMPLATE/ @nvidia/cuopt-infra-codeowners
/.github/PULL_REQUEST_TEMPLATE.md @nvidia/cuopt-infra-codeowners
/.github/skills/ @nvidia/cuopt-infra-codeowners
/.github/agents-legacy/ @nvidia/cuopt-infra-codeowners
Comment thread
rgsl888prabhu marked this conversation as resolved.

#packaging code owners
/.devcontainer/ @nvidia/cuopt-ci-codeowners
Expand Down
184 changes: 0 additions & 184 deletions .github/agents/cuopt-developer.md

This file was deleted.

Loading