Commit f1d611f
Add comprehensive D4D Assistant workflows and MCP configuration (#57)
* Add D4D Assistant workflow instructions for GitHub Actions
- Add dedicated instruction files for D4D Assistant in .github/workflows/
- d4d_assistant_create.md: Complete workflow for creating new datasheets
- d4d_assistant_edit.md: Complete workflow for editing existing datasheets
- Update CLAUDE.md to reference these instruction files
Both instruction files include:
- Step-by-step processes for metadata extraction and datasheet generation
- PR creation workflows with descriptive templates
- User notification templates for GitHub issue comments
- Validation requirements and error handling
- Schema reference and constraint checking
🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
* Enhance D4D Assistant with MCP configuration, scope limits, and validation guidance
## MCP Server Setup
- Add .mcp.json with GitHub and ARTL MCP server configurations
- Update .claude/settings.json to enable project MCP servers
- Add permissions for mcp__github__*, mcp__artl__*, WebSearch, WebFetch
- Create .github/workflows/README.md with MCP setup and troubleshooting guide
## D4D Assistant Scope
- Add explicit scope limitations (D4D tasks only)
- Provide polite redirect template for non-D4D questions
- Document available MCP tools and their purposes:
- GitHub MCP: PR/issue management, repository operations
- ARTL MCP: Academic literature search and retrieval
- WebSearch: Find dataset documentation
- WebFetch: Retrieve content from URLs
## Validation Enhancement
- Add comprehensive validation instructions to both workflows
- Document common validation errors with fixes
- Provide step-by-step debugging guidance
- Emphasize validation is required before PR creation
- Include alternative validation methods
## Documentation
- Add setup guide in .github/workflows/README.md
- Document MCP server capabilities and authentication
- Include troubleshooting section for common issues
- Provide security notes about MCP server trust
🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
* Add PR modification workflows and explicit instruction file reading
## PR Modification Support
- Add "Modifying an Existing PR" section to both workflow files
- Document when to modify vs. create new PR
- Provide step-by-step workflow for PR updates:
- Find and checkout existing PR branch
- Make requested changes
- Validate and commit updates
- Comment on PR with changes
- Optionally notify in issue
## Example Scenarios
- User requests additional fields after review
- User corrects values in existing PR
- Validation errors discovered after PR creation
- New source documentation provided
## CLAUDE.md Enhancements
- Add explicit instruction to READ workflow files FIRST
- List all three task types: create, edit, modify PR
- Provide quick reference workflow
- Add critical notes about validation and communication
- Reference both workflow files contain PR modification sections
This ensures the D4D Assistant can iterate on PRs based on user feedback
instead of always creating new PRs.
🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent 49afe36 commit f1d611f
File tree
6 files changed
+1498
-2
lines changed- .claude
- .github/workflows
6 files changed
+1498
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | | - | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
0 commit comments