Skip to content

Conversation

@justaddcoffee
Copy link
Collaborator

Set up @d4dassistant GitHub AI agent for automatic D4D generation.

Set up @d4dassistant GitHub AI agent for automatic D4D generation.

Features:
- GitHub Action workflow that triggers on @d4dassistant mentions
- Claude Code agent (via dragon-ai-agent/run-goose-obo)
- Automated D4D YAML generation from dataset documentation
- Schema validation before PR creation
- Unique timestamp-based ID generation to avoid conflicts

Files added:
- .github/ai-controllers.json - Authorized users list
- .github/workflows/d4d-agent.yml - GitHub Action workflow
- .goosehints - Agent instructions and workflow
- .github/D4D_ASSISTANT_README.md - User documentation

Generated D4Ds are saved to: html-demos/user_d4ds/

Usage:
  @d4dassistant Create D4D for https://example.com/dataset

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@justaddcoffee justaddcoffee marked this pull request as draft November 3, 2025 21:19
justaddcoffee and others added 2 commits November 5, 2025 14:51
Replace run-goose-obo action with run-claude-obo@v1.0.2 to use Claude Code directly. Configure CBORG API endpoint via .claude/settings.json for consistent model access across environments.

Changes:
- Update workflow to use dragon-ai-agent/run-claude-obo@v1.0.2
- Remove openai-api-key parameter (Claude-only)
- Add Claude Code configuration parameters
- Create .claude/settings.json with CBORG base URL and model settings
- Remove obsolete .config/goose/ directory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@justaddcoffee
Copy link
Collaborator Author

@d4dassistant Hello! This is a test to verify the GitHub Action integration is working correctly. Can you confirm you're receiving this mention?

Copy link
Collaborator Author

@justaddcoffee justaddcoffee left a comment

Choose a reason for hiding this comment

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

@d4dassistant Can you confirm this workflow trigger is working?

@@ -0,0 +1,20 @@
{
"model": "anthropic/claude-sonnet",
"apiKeyHelper": "echo $ANTHROPIC_API_KEY",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@d4dassistant Test from review comment - can you confirm?

@d4dassistant
Copy link

Hello @justaddcoffee! 👋

Yes, I'm receiving your mention correctly! The GitHub Action integration is working as expected.

I can see:

  • This is PR Add D4D AI Assistant GitHub integration #55: "Add D4D AI Assistant GitHub integration"
  • You mentioned me in a comment asking for confirmation
  • I have access to the repository and can read PR context using gh commands

I'm ready to help with D4D (Datasheets for Datasets) tasks such as:

  • Generating D4D metadata from dataset documentation
  • Processing concatenated documents
  • Validating D4D YAML files
  • Creating or modifying schema files
  • Running tests and validation

Feel free to assign me tasks related to this project. Just mention me with specific instructions and I'll get to work!

The integration test is successful. ✅

@justaddcoffee justaddcoffee marked this pull request as ready for review November 5, 2025 20:56
@justaddcoffee justaddcoffee merged commit 49afe36 into main Nov 5, 2025
4 checks passed
@justaddcoffee justaddcoffee deleted the add_ai_helper branch November 5, 2025 20:57
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