Add comprehensive D4D Assistant workflows and MCP configuration #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR establishes comprehensive workflows and configuration for the D4D Assistant, enabling automated creation and editing of Datasheets for Datasets (D4D) via GitHub Actions.
What's Included
1. D4D Assistant Instruction Files
New Files:
.github/workflows/d4d_assistant_create.md- Complete workflow for creating new D4D datasheets.github/workflows/d4d_assistant_edit.md- Complete workflow for editing existing datasheets.github/workflows/README.md- MCP server setup and troubleshooting guideKey Features:
2. MCP Server Configuration
New Files:
.mcp.json- Project-scoped MCP server configurationUpdated Files:
.claude/settings.json- Enabled project MCP servers and permissionsConfigured MCP Tools:
3. Enhanced CLAUDE.md
Updated Section: "D4D Assistant Instructions (GitHub Actions)"
Changes:
D4D Assistant Capabilities
With these workflows, the D4D Assistant can:
✅ Create new datasheets from dataset documentation URLs
✅ Edit existing datasheets based on user requests
✅ Modify existing PRs with additional changes
✅ Validate YAML against D4D schema with detailed error handling
✅ Search academic literature for dataset papers (ARTL MCP)
✅ Fetch web content from documentation sources
✅ Create pull requests with comprehensive descriptions
✅ Notify users in GitHub issues with PR links and instructions
✅ Handle scope limitations by redirecting non-D4D questions
Workflow Examples
Creating a New Datasheet
@d4dassistantcreate a datasheet for XYZ dataset (with URLs).github/workflows/d4d_assistant_create.mdEditing an Existing Datasheet
@d4dassistantadd instance_count field to dataset_xyz.yaml.github/workflows/d4d_assistant_edit.mdModifying an Existing PR
gh pr checkout <number>Validation Requirements
All workflows enforce strict validation:
User Communication
The D4D Assistant keeps users informed:
MCP Setup
First-time users need to:
/mcpcommand)uvxis available for ARTL MCPSee
.github/workflows/README.mdfor detailed setup and troubleshooting.Files Changed
New Files (5)
.mcp.json.github/workflows/d4d_assistant_create.md.github/workflows/d4d_assistant_edit.md.github/workflows/README.mdModified Files (2)
.claude/settings.jsonCLAUDE.mdTesting
To test these workflows:
Related Issues
This PR builds upon the D4D AI Assistant GitHub integration (#55) by providing comprehensive workflows and tool access.
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com