Skip to content

Comments

Agent workshop documentation#5

Merged
kentcdodds merged 7 commits intomainfrom
cursor/agent-workshop-documentation-9ad5
Jan 13, 2026
Merged

Agent workshop documentation#5
kentcdodds merged 7 commits intomainfrom
cursor/agent-workshop-documentation-9ad5

Conversation

@kentcdodds
Copy link
Member

@kentcdodds kentcdodds commented Jan 12, 2026

Add comprehensive instructor documentation for AI-driven Epic Workshop creation.

This documentation enables AI agents to systematically build workshops following Epic Workshop best practices and format, covering all aspects from planning and scoping to implementation, content creation, and validation.


Open in Cursor Open in Web


Note

Introduces complete documentation for building Epic Workshops with AI agents and links it from README.md.

  • Adds instructor/ with step-by-step workflow/ (discovery → planning → setup → implementation → content → validation → verification)
  • Includes focused guides: workshop overview, directory structure, writing exercises, MDX/content usage, package configuration, testing/validation, best practices, and emoji guide
  • Updates README.md with instructions on using the new docs
  • Expands .gitignore with generic ignored patterns

Written by Cursor Bugbot for commit a5f0968. This will update automatically on new commits. Configure here.

…rkshops with AI agents.

Co-authored-by: me <me@kentcdodds.com>
@cursor
Copy link

cursor bot commented Jan 12, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Copy link
Member Author

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

@cursoragent, there seems to be a bit of duplication between the emoji guide and the agent workflow. I think we can reduce that duplication (favor the agent workflow).

Also, I would prefer to chunk up the agent workflow into individual markdown files to not overload the agent with too many irrelevant things. Maybe we could make a directory of these.

In general I would like this structured such that the agent can progressively add more context as needed where each markdown file references the relevant markdown files as it progresses through the tasks.

Also, please check the comments I've left on this PR as well.

```mdx
# Exercise Title

<EpicVideo url="..." />
Copy link
Member Author

Choose a reason for hiding this comment

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

When making a new workshop, you often don't have videos to include. Probably remove this line to not confuse the agent.

```mdx
# Step Title

<EpicVideo url="..." />
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove this reference to not confuse the agent.

```mdx
# Exercise Title

<EpicVideo url="..." />
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove this reference to not confuse the agent.

[Transition to next step if applicable]
```

### Summary Pattern
Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe these sections should include what file they appear in. So this would be:

### Summary Pattern (FINISHED.mdx)

Comment on lines 179 to 181
// 🚨 If this test is failing, make sure you've exported the function
// as a named export, not a default export.
expect(myFunction).toBeDefined()
Copy link
Member Author

Choose a reason for hiding this comment

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

Instead this should be:

expect(myFunction, `🚨 make sure you've exported the function as a named export, not a default export`).toBeDefined()

@cursor
Copy link

cursor bot commented Jan 12, 2026

Done! Here's a summary of the changes:

Changes Made

1. Created workflow/ directory with chunked phases

  • workflow/readme.md - Overview and quick start
  • workflow/01-discovery.md - Topic research and scoping
  • workflow/02-planning.md - Exercise structure design
  • workflow/03-setup.md - Configuration and directories
  • workflow/04-implementation.md - Creating code
  • workflow/05-content.md - Writing README.mdx files
  • workflow/06-validation.md - Testing and verification

Each file references the relevant detailed documentation and points to the next phase.

2. Slimmed down 09-emoji-guide.md

  • Removed duplicated workflow content
  • Fixed Alfred the Alert example to use assertion message format
  • Simplified to just be a reference for the characters

3. Fixed PR comments

  • Added file names to section headers (e.g., "Problem Instructions (XX.problem.step-name/README.mdx)")
  • Fixed Alfred example: expect(fn, '🚨 message').toBeDefined()
  • Added note that <EpicVideo> is added later after videos are recorded
  • Removed EpicVideo from example templates in the mdx guide

4. Deleted old 10-agent-workflow.md

  • Replaced by the workflow/ directory

5. Updated readme.md files

  • Main instructor readme now points agents to workflow/01-discovery.md
  • Explains progressive context loading approach

Open in Cursor Open in Web

Learn more about Cursor Agents

cursoragent and others added 4 commits January 12, 2026 23:29
…ntent guides

Co-authored-by: me <me@kentcdodds.com>
…rkflow

Co-authored-by: me <me@kentcdodds.com>
@kentcdodds kentcdodds marked this pull request as ready for review January 13, 2026 02:15
Add patterns to ignore files with '.ignored' extension
@kentcdodds kentcdodds merged commit cb6ec4c into main Jan 13, 2026
6 checks passed
@kentcdodds kentcdodds deleted the cursor/agent-workshop-documentation-9ad5 branch January 13, 2026 02:46
```mdx
# Exercise Title

<EpicVideo url="https://..." />
Copy link

Choose a reason for hiding this comment

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

EpicVideo in templates contradicts guidance to omit it

Medium Severity · BugBot Rules

The PR reviewer explicitly flagged this: "When making a new workshop, you often don't have videos to include. Probably remove this line to not confuse the agent." The README structure templates include <EpicVideo url="https://..." /> components, but instructor/05-mdx-and-content.md explicitly states not to include these when first creating workshops. This inconsistency could cause AI agents to incorrectly add video embeds to new workshops.

Additional Locations (2)

Fix in Cursor Fix in Web

myFunction,
`🚨 Make sure you exported the function as a named export, not default`
).toBeDefined()
```
Copy link

Choose a reason for hiding this comment

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

Test assertion message format differs from reviewer suggestion

Low Severity · BugBot Rules

The PR reviewer explicitly stated the test assertion format should be: expect(myFunction, '🚨 make sure you've exported the function as a named export, not a default export').toBeDefined(). The current format uses different wording ("Make sure you exported" vs "make sure you've exported", "not default" vs "not a default export") and multi-line formatting instead of the suggested single-line format.

Additional Locations (1)

Fix in Cursor Fix in Web

Let's see how to test this hook next.
```

### Exercise Summary (FINISHED.mdx)
Copy link

Choose a reason for hiding this comment

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

Exercise Summary sections missing full file path

Low Severity · BugBot Rules

The PR reviewer commented "Maybe these sections should include what file they appear in." The Exercise Summary section headers in instructor/05-mdx-and-content.md and instructor/09-emoji-guide.md show ### Exercise Summary (FINISHED.mdx) without the full path, while instructor/04-writing-exercises.md correctly shows ### Exercise Summary (exercises/XX.exercise-name/FINISHED.mdx). This path inconsistency could confuse AI agents about where the file should be created.

Additional Locations (1)

Fix in Cursor Fix in Web

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