Add run-tutorial and docker-setup Claude skills#768
Merged
pinin4fjords merged 18 commits intomasterfrom Jan 13, 2026
Merged
Conversation
New skill that simulates a learner's experience by: - Progressively building code section by section - Running commands exactly as documented - Verifying "Before" state matches before applying changes - Comparing final results against solution files - Cleaning up working directories after successful runs Uses Docker container with dynamically-determined NXF_VER from devcontainer.json to match the learner environment. References existing skills for specialized checks. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
✅ Deploy Preview for nextflow-training ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
Nextflow linting complete! ❌ 4 files had 21 errors 💡 Tip: Click filename locations to go directly to that code. View all 21 issues
View formatting changes
|
Instead of just recommending follow-up skills, the walkthrough now: - Invokes /validate in Phase 1 to check highlights, structure, pedagogy - Invokes /test-example in Phase 3 on solution files - Reports results from both skills in the output summary Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Discovered during workflow_outputs tutorial walkthrough: - Add UTF-8 locale settings (LANG=C.UTF-8, LC_ALL=C.UTF-8) to Docker commands to handle non-ASCII characters like "Holà" - without these, Nextflow fails with "Malformed input or unmappable characters" error - Clean up existing container before starting to avoid conflicts - Improve output format to report actual results from /validate skill (heading count, hl_lines blocks checked, TODO counts, etc.) - Improve output format to report actual results from /test-example skill (process counts, resume verification, output checks) - Organize issues by severity (Critical/Warning/Minor) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Skill files are internal instructions for Claude, not student-facing training materials. They don't need to follow the same heading numbering conventions as lesson content. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When issues are found during tutorial walkthrough: - Categorize issues as auto-fixable vs requiring manual review - Present proposed fixes to user in a clear table format - Ask user for approval before making any changes - Allow user to review/modify fixes one at a time - Create PR only after user approval Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Document DooD setup for tutorials with containerized processes - Explain path matching requirement for sibling containers - Add Apple Silicon platform emulation instructions - Include troubleshooting table for common DooD errors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add CRITICAL note at start of Phase 2 about completing all steps per section - Add new step 2.6 "Confirm Section Complete Before Proceeding" - Expand Notes section with explicit "ONE SECTION AT A TIME" and "Test after EVERY change" - Add guidance to test even when tutorial doesn't explicitly say to run Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add task 6 to validate skill to invoke /check-highlights for comprehensive hl_lines validation - Simplify run-tutorial skill to consolidate validate references since validate now handles highlights Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Document symlink workaround for Codespaces paths when testing locally - Add container stability issues section with recovery procedure Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When reporting issues or creating PRs, always read the actual section headings from the document rather than guessing section numbers. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add blank line after "**Symptoms**:" for proper markdown list formatting - Fix table column alignment in PR body template - Apply prettier formatting to list items Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fix pre-commit markdown formatting for proper list rendering. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
## Changes
- Extract Docker container setup into new `/docker-setup` skill
- Basic setup for tutorials without containerized processes
- DooD (Docker-outside-of-Docker) for containerized processes
- ARM Mac platform emulation support
- Troubleshooting table and container restart procedure
- Improve run-tutorial skill:
- Reference docker-setup skill instead of inline Docker instructions
- Add explicit AskUserQuestion tool usage for initial questions
- Clarify skill invocation using Skill tool
- Add TodoWrite recommendation for tracking progress
- Fix placeholder values in commands (use ${PWD}, ${WORKING_DIR})
- Simplify environment options to Docker or Existing
- Fix co-author line (model-agnostic)
- Reduce file size from 600 to ~400 lines
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/run-tutorial) for testing training tutorials end-to-end/docker-setup) for Docker container environment setupNew Skills
/run-tutorialWalks through a training tutorial as a learner would:
References existing skills (
/validate,/test-example,/docker-setup) to avoid duplication./docker-setupSets up Docker container environment for running Nextflow training examples:
Skill Quality Improvements
Both skills follow Claude Code best practices:
AskUserQuestiontool usage for gathering user inputSkilltool invocation syntax for referencing other skillsTodoWriterecommendation for tracking progress through complex workflows${PWD},${WORKING_DIR}instead of[path])Test plan
🤖 Generated with Claude Code