Skip to content

feat: Add AI agent skill for creating tutorials - #41

Open
mtthwcmpbll wants to merge 2 commits into
mainfrom
feature/ai-tutorial-skill-9071887667116369749
Open

feat: Add AI agent skill for creating tutorials#41
mtthwcmpbll wants to merge 2 commits into
mainfrom
feature/ai-tutorial-skill-9071887667116369749

Conversation

@mtthwcmpbll

Copy link
Copy Markdown
Owner

This PR introduces a new AI agent skill to the repository, enabling users and agents to automatically generate new tutorials or add lessons to existing ones.

Key changes:

  • scripts/create_tutorial.py: A Python script that accepts a topic, URL, objectives, and level, then uses an LLM (OpenAI) to generate a lesson plan, MDX steps, and YAML metadata. It also supports creating a standalone Dockerfile for the new lesson.
  • scripts/requirements.txt: Lists the necessary Python packages (openai, beautifulsoup4, requests, pyyaml).
  • AGENTS.md: Documentation for the new skill, including usage instructions and examples.

This feature allows for rapid content creation and experimentation with new tutorial topics.


PR created automatically by Jules for task 9071887667116369749 started by @mtthwcmpbll

- Added `scripts/create_tutorial.py` to generate lesson content using OpenAI.
- Added `scripts/requirements.txt` for Python dependencies.
- Added `AGENTS.md` to document the new skill.
- The script supports generating standalone Dockerfiles for individual lessons.

Co-authored-by: mtthwcmpbll <226487+mtthwcmpbll@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Implemented `create_turtorial`, `create_lesson`, and `update_lesson` scripts in `.agents/skills`.
- Added symlinks for Claude and Copilot agents in `.agents/claude` and `.agents/copilot`.
- Included documentation in `AGENTS.md`.
- Added dependencies in `.agents/skills/requirements.txt`.
- Added `clean_llm_response` utility to safely handle LLM output.
- Updated `.gitignore` to exclude `__pycache__` and `.pyc` files.

Co-authored-by: mtthwcmpbll <226487+mtthwcmpbll@users.noreply.github.com>
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.

1 participant