feat: add GitHub Actions skill for workflow creation and debugging#56
feat: add GitHub Actions skill for workflow creation and debugging#56juanmichelini wants to merge 4 commits intomainfrom
Conversation
- Add comprehensive GitHub Actions skill with SKILL.md - Include practical examples for testing, debugging, and best practices - Cover common pitfalls like action deployment requirements and permissions - Add README.md with detailed scenarios and use cases - Register skill in marketplace.json Closes #55 Co-authored-by: openhands <openhands@all-hands.dev>
all-hands-bot
left a comment
There was a problem hiding this comment.
Taste Rating: 🟡 Acceptable - Technically solid content but violates progressive disclosure principle.
Verdict: ✅ Worth merging with strong recommendation to refactor for efficiency.
Key Insight: You built a comprehensive reference manual when you needed a concise decision guide. SKILL.md at 530 lines will burn significant context tokens every time an agent loads it—that's the wrong data structure for the progressive disclosure use case.
- Consolidated repetitive content into a single 'Critical Rules' section - Clarified that debug steps should be used for NEW actions OR tricky issues, not always - Removed redundant explanations scattered throughout the document - Updated both SKILL.md and README.md for consistency Addresses feedback from @juanmichelini
all-hands-bot
left a comment
There was a problem hiding this comment.
Taste Rating: 🔴 Needs improvement - Violates AgentSkills progressive disclosure architecture
Verdict: Content quality is solid, but the data structure problem identified in previous reviews remains unaddressed.
Key Insight: SKILL.md should be a 50-80 line decision guide, not a 526-line reference manual—that's an architectural requirement, not a style preference.
skills/github-actions/SKILL.md
Outdated
| - [GitHub Actions Documentation](https://docs.github.com/en/actions) | ||
| - [Workflow Syntax Reference](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions) | ||
| - [GitHub Actions Marketplace](https://github.com/marketplace?type=actions) | ||
| - [act - Local Testing Tool](https://github.com/nektos/act) |
There was a problem hiding this comment.
🔴 Critical - Architecture Violation: This file is 526 lines. The AgentSkills spec and previous reviews identified this as a progressive disclosure violation. SKILL.md should be <100 lines—enough for an agent to decide "do I need this?" not "here's every detail."
The Fix: Keep lines 1-23 (frontmatter + Critical Rules). Add a "Quick Patterns" section with 3-5 common patterns (3 lines each). Add "See README.md for detailed examples." Total: ~50-80 lines. Move everything else to README.md.
Why this matters: Every skill load burns context tokens. 526 lines of examples that aren't needed for the initial decision is the wrong data structure for this use case.
|
@OpenHands address the reviewers points |
|
I'm on it! juanmichelini can track my progress at all-hands.dev |
- Reduced SKILL.md from 526 to 81 lines (within 50-80 line target) - Kept frontmatter and Critical Rules section (got positive review feedback) - Added concise Quick Patterns section showing 3 action types - Condensed Key Gotchas to 4 most critical issues - Moved detailed content to README.md (examples, debugging, testing, best practices) - Eliminated redundancy between SKILL.md and README.md - README.md now contains comprehensive detailed reference material Addresses reviewer feedback: - Progressive disclosure architecture now properly implemented - SKILL.md is a decision guide, not a reference manual - Reduced context token usage for skill loading - No repeated content between files
Summary of Changes MadeI've successfully addressed all reviewer feedback on PR #56 for the GitHub Actions skill. The changes have been committed and pushed to the remote branch. ✅ Request Completion ChecklistReviewer Points Addressed:
Changes Made (2 files modified)skills/github-actions/SKILL.md (526 → 81 lines):
skills/github-actions/README.md (285 → 607 lines):
Validation
PR #56 has been updated and now properly implements the AgentSkills progressive disclosure specification. |
|
@OpenHands remove the Quick Patterns section. Add comments to make sure the agent is effective when testing and understanding actions. We want to monitor them, we want to read logs, we want to figure out what's actually happenning not guessing. Think best practices for developing an action with confidence and add them. Notice that actions have costs so we should take that into account when deciding a plan to test and monitor. |
|
I'm on it! juanmichelini can track my progress at all-hands.dev |
- Remove Quick Patterns section (syntax examples moved to README) - Add Testing & Monitoring Strategy focused on effectiveness - Emphasize cost awareness (CI minutes consumption) - Add practical debugging workflow with gh CLI commands - Focus on reading logs and understanding actual behavior vs guessing - Include visibility best practices (debug steps for inputs/outputs) Addresses reviewer feedback to make skill about SWE effectiveness, not syntax.
Summary of ChangesI've successfully addressed the reviewer's feedback on PR #56 for the GitHub Actions skill. Here's what was changed: ✅ Request Completion Checklist
Changes Are ConciseThe modification was surgical - only the "Quick Patterns" section (lines 26-65) was replaced with the new "Testing & Monitoring Strategy" section. No extraneous changes were made. The file went from 82 to 88 lines, with the increase coming from more detailed debugging guidance as requested. What ChangedThe SKILL.md now leads with practical effectiveness instead of syntax examples:
Commit pushed: The skill is now focused on working with GitHub Actions as a professional SWE - monitoring, understanding, and debugging with confidence rather than just syntax knowledge. |
Description
This PR adds a comprehensive GitHub Actions skill that helps with creating, testing, and debugging GitHub Actions workflows and custom actions.
Closes #55
What's Included
SKILL.md
actghCLI usageREADME.md
marketplace.json
Key Features
✅ Testing Requirements: Clearly explains the requirement to merge actions to main before use
✅ Debug Guidance: Emphasizes adding debug steps that print non-secret parameters
✅ Practical Examples: Code snippets for real-world scenarios
✅ Security Focus: Covers permissions, secrets, and fork PR handling
✅ Comprehensive Coverage: Addresses tricky, non-obvious issues like:
Testing
All existing tests pass:
Related Issue
Implements the feature requested in #55 by @juanmichelini
@juanmichelini can click here to continue refining the PR