Skip to content

check in AGENTS.md, xtask#26

Merged
schell merged 3 commits into
mainfrom
chore/xtask
Dec 31, 2025
Merged

check in AGENTS.md, xtask#26
schell merged 3 commits into
mainfrom
chore/xtask

Conversation

@schell

@schell schell commented Dec 31, 2025

Copy link
Copy Markdown
Owner
  • Add cargo xtask wgsl-spec toc to list the WGSL spec table of contents
  • Add cargo xtask wgsl-spec section to fetch specific sections by anchor ID
  • Supports --shallow flag to omit subsections and optional argument for direct subsection access
  • Enables AI agents to query the WGSL spec without overflowing context windows

Copilot AI review requested due to automatic review settings December 31, 2025 00:41

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 developer tooling for AI agents working with the wgsl-rs codebase. It introduces a new xtask crate that provides command-line utilities to fetch and display WGSL specification content, along with documentation updates to guide agent usage.

  • Adds a new xtask crate with commands to query the WGSL specification
  • Updates workspace configuration to include the new crate and required dependencies
  • Documents the new tooling in AGENTS.md with usage examples

Reviewed changes

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

Show a summary per file
File Description
crates/xtask/src/main.rs Implements the xtask CLI tool with WGSL spec fetching commands
crates/xtask/Cargo.toml Defines the xtask package with dependencies for HTTP requests and HTML parsing
Cargo.toml Adds xtask to workspace members and includes new shared dependencies
Cargo.lock Locks all transitive dependencies for the new packages
AGENTS.md Documents the xtask commands and updates workspace description
.gitignore Removes AGENTS.md from gitignore to check it in
.cargo/config.toml Adds cargo alias for xtask and workspace directory environment variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Cargo.toml Outdated
Comment thread Cargo.toml Outdated
Comment thread crates/xtask/src/main.rs
Comment thread crates/xtask/src/main.rs
Comment thread crates/xtask/src/main.rs
Comment thread crates/xtask/src/main.rs
Comment thread crates/xtask/src/main.rs
@schell schell merged commit 55d385c into main Dec 31, 2025
4 checks passed
schell added a commit that referenced this pull request May 29, 2026
* check in AGENTS.md, xtask

* fmt

* PR fixup
@schell schell deleted the chore/xtask branch June 1, 2026 18:42
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