Skip to content

Initialize ai agents documentation#3732

Open
T4rk1n wants to merge 3 commits intodevfrom
claude-init
Open

Initialize ai agents documentation#3732
T4rk1n wants to merge 3 commits intodevfrom
claude-init

Conversation

@T4rk1n
Copy link
Copy Markdown
Contributor

@T4rk1n T4rk1n commented Apr 9, 2026

Add claude/ai agents documentation for the project.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Thank you for your contribution to Dash! 🎉

This PR is exempt from requiring a linked issue due to its labels.

@AnnMarieW
Copy link
Copy Markdown
Collaborator

Who is the audience for the docs? Is it MCP/LLM runtime docs?

The COMMANDS.md TESTING.md and RENDERER.md seems like it's more relevant to a dash contributor.

How was the file generated? The TROUBLESHOOTING.md looks shallow and some of it is incorrect, for example:

"Circular dependency detected"
Cause: Callback output is also its own input (directly or indirectly).

Solution: Restructure callbacks to break the cycle. Use State instead of Input where possible, or split into multiple callbacks.

@T4rk1n
Copy link
Copy Markdown
Contributor Author

T4rk1n commented Apr 10, 2026

Who is the audience for the docs? Is it MCP/LLM runtime docs?

It's AI generated and for AI agents like claude. It is meant to describe the project context. The TESTING describe how dash_duo works since it's part of the framework. If it's useful to a dash contributor then I think it's doing a good job.

The TROUBLESHOOTING part I was not really sure, it was a suggestion from claude to add it. If you notice incorrect info please add in a review.

@AnnMarieW
Copy link
Copy Markdown
Collaborator

OK - I thought this was docs for the MCP server. For dash contributors, this looks good. Not sure how useful the troubleshooing part is for this use-case.

AGENTS.md Outdated
Comment on lines +14 to +33
## Quick Reference

```bash
# Setup
pip install -e .[ci,dev,testing,celery,diskcache] && npm ci

# Build
npm run build # Linux/Mac
npm run first-build # Windows (use Bash)
dash-update-components "dash-core-components" # Single component

# Test
pytest tests/unit # Unit tests
pytest tests/integration # Integration tests
pytest -k test_name # Specific test

# Lint
npm run lint # All linters
npm run private::format.black # Auto-format Python
```
Copy link
Copy Markdown
Contributor

@KoolADE85 KoolADE85 Apr 10, 2026

Choose a reason for hiding this comment

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

I don't think that it's actually useful to provide this section. LLMs are pretty good at taking in all the docs, and it's likely that this section will become out-of-sync with the other example commands when we update them.

T4rk1n and others added 2 commits April 10, 2026 14:11
Co-authored-by: Adrian Borrmann <adrian.borrmann@plot.ly>
Comment on lines +37 to +58
```bash
# Run all tests
npm run test

# Unit tests only
pytest tests/unit

# Integration tests (requires ChromeDriver)
pytest tests/integration

# Run specific test by name
pytest -k test_name

# Run tests matching pattern
pytest -k cbcx # runs all tests with "cbcx" in name

# Renderer unit tests (Jest)
cd dash/dash-renderer && npm run test

# Setup test components before running integration tests
npm run setup-tests.py
```
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.

similar to the "Quick Reference" I don't think we should have duplicate examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants