Update flutter skill regularly#4
Conversation
|
Here's my review of PR — Update flutter skill regularly: File name conventions
Potential issues1. Non-existent
|
| Area | Suggestion |
|---|---|
| Filename | Rename to .github/workflows/skill-update.yml |
| Dependency pinning | Add a package.json with "skills": "^x.y.z" |
| Skill scope | Replace --skill '*' with specific skill names relevant to the project |
| Checkout version | Confirm @v6 exists or pin to @v4 |
| Scheduling | 0 5 * * 1-5 runs weekdays at 5 AM UTC — confirm this is the intended cadence |
Summary
The PR adds a reasonable automated skill update workflow. The main concerns are the unchecked skills CLI version (no lockfile/pin), potentially over-broad skill import (*), and the file naming convention. Fix those and this is good to go.
|
Here's my review: Critical Issues1. Change detection misses untracked files ( if ! git diff --quiet HEAD; then
if ! git diff --quiet HEAD || [ -n "$(git ls-files --others --exclude-standard)" ]; then2. Empty orphan workflow file ( The commit history shows Minor Issues3. 4. Filename has spaces — Answers to open review commentsPermissions ( Checklist (
SummaryTwo real bugs (untracked file detection, orphaned empty workflow), one actionable suggestion (rename file), and one questionable action version that follows the repo's existing convention. |
|
Here is my review of the PR. Bugs1. YAML indentation mismatch in
|
| Area | Suggestion |
|---|---|
| Filename | Rename Skill Update.yml → skill-update.yml |
| Skill scope | Replace --skill '*' with specific skill names |
| Dependency pinning | Add a package.json with "skills": "^x.y.z" |
| Checklist | Remove "Document any new conventions" (too vague for an automated PR), add "Verify lockfile format is valid" and "Confirm no unexpected files were modified" |
Summary
The PR has one confirmed bug (YAML indentation in opencode.yml that will cause a parse error) and one logic bug (change detection misses new files). The @v6 checkout version will fail at runtime. Fix those and this is in good shape.
PR Review: Update flutter skill regularlyBugs (confirmed, still present)1. Change detection misses new/untracked files — if ! git diff --quiet HEAD; then
if ! git diff --quiet HEAD || [ -n "$(git ls-files --others --exclude-standard)" ]; then2. The Potential Issues3.
4. If v6 doesn't exist yet on the marketplace, this fails at runtime. Pin to a known good version (the repo previously used v5 in 5. Unpinned
6. Over-broad skill import —
Suggestions
What was already fixedThe YAML indentation issue in SummaryTwo real bugs: untracked file detection ( |
Co-authored-by: code-schreiber <code-schreiber@users.noreply.github.com>
|
Renamed |
|
User opencode-agent[bot] does not have write permissions |
PR Review: Update flutter skill regularlyBugs1. Missing The new Old: 2. The latest official release of 3. Change detection misses new files — if ! git diff --quiet HEAD; then
if ! git diff --quiet HEAD || [ -n "$(git ls-files --others --exclude-standard)" ]; thenIssues4.
5. Unpinned
6. Imports every Flutter skill, many irrelevant. Scope to specific skills the project actually uses. Checklist suggestions (
|
|
Yes. |
No description provided.