Skip to content

chore(skills): migrate opencode-lucky-workflows to Claude-lucky-workflows, fix SSH refs - #289

Merged
LucasSantana-Dev merged 2 commits into
mainfrom
chore/skills-maintenance
Mar 15, 2026
Merged

LucasSantana-Dev merged 2 commits into
mainfrom
chore/skills-maintenance

Conversation

@LucasSantana-Dev

@LucasSantana-Dev LucasSantana-Dev commented Mar 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Renamed opencode-lucky-workflows skill to Claude-lucky-workflows — the project now uses Claude Code, not OpenCode. Rewrote the skill to reference Claude.jsonc, .Claude/plugins, .Claude/skills, and scripts/Claude-* scripts.
  • Fixed lucky-deploy-recovery/SKILL.md — replaced stale ssh server-do-luk with ssh luk-server@100.95.204.103 (Tailscale) in triage sequence.
  • Updated AGENTS.md — table row now points to Claude-lucky-workflows, bottom section references Claude.jsonc/.Claude//scripts/Claude-* instead of OpenCode equivalents.

No code changes — skills and AGENTS.md only.

Summary by CodeRabbit

  • Documentation

    • Added Claude Code Lucky Workflows documentation including configuration details and plugin specifications.
    • Updated deployment recovery documentation with new SSH host configuration.
    • Removed OpenCode Lucky Workflows documentation file.
  • Chores

    • Updated references from "OpenCode" to "Claude Code" across documentation and configuration files.

@vercel

vercel Bot commented Mar 15, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lucky Ready Ready Preview, Comment Mar 15, 2026 9:53pm

Request Review

@coderabbitai

coderabbitai Bot commented Mar 15, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@LucasSantana-Dev has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 39 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5c64b38d-0e53-4463-a9d5-37dae542fa49

📥 Commits

Reviewing files that changed from the base of the PR and between 2548e0e and 1897784.

📒 Files selected for processing (6)
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
  • .cursor/skills/lucky-deploy-recovery/SKILL.md
  • .cursor/skills/opencode-lucky-workflows/SKILL.md
  • AGENTS.md
  • packages/bot/jest.config.cjs
  • packages/bot/tests/__mocks__/prismaClient.ts
📝 Walkthrough

Walkthrough

This PR updates workflow documentation by adding Claude Code Lucky Workflows skill documentation, removing OpenCode Lucky Workflows documentation, updating SSH target hosts in the lucky-deploy-recovery workflow, and replacing OpenCode references with Claude Code references in AGENTS.md.

Changes

Cohort / File(s) Summary
Claude-lucky-workflows Documentation
.cursor/skills/Claude-lucky-workflows/SKILL.md
New skill documentation added describing Claude Code Lucky Workflows, including scope, configuration types (repo-local, host-local, remote), plugin/skill setup, validation flows, remote attach procedures, and guardrails.
OpenCode-lucky-workflows Documentation
.cursor/skills/opencode-lucky-workflows/SKILL.md
Skill documentation file removed; contained OpenCode workflow configuration and remote attach procedures.
lucky-deploy-recovery Workflow Configuration
.cursor/skills/lucky-deploy-recovery/SKILL.md
SSH target host updated from server-do-luk to luk-server@100.95.204.103 in validation and cleanup workflow steps.
Agent Documentation Updates
AGENTS.md
References to "OpenCode" replaced with "Claude Code" in skills table, workflow paths, and script/package names.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

size/m

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately summarizes the two main changes: migrating opencode-lucky-workflows to Claude-lucky-workflows and fixing SSH references in the lucky-deploy-recovery skill.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/skills-maintenance
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@netlify

netlify Bot commented Mar 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for regal-bunny-0c8efe ready!

Name Link
🔨 Latest commit 1897784
🔍 Latest deploy log https://app.netlify.com/projects/regal-bunny-0c8efe/deploys/69b72a36ee362d0008d5b930
😎 Deploy Preview https://deploy-preview-289--regal-bunny-0c8efe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@LucasSantana-Dev
LucasSantana-Dev force-pushed the chore/skills-maintenance branch from 2548e0e to 1897784 Compare March 15, 2026 21:52
@github-actions github-actions Bot added the bot label Mar 15, 2026
@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
.cursor/skills/lucky-deploy-recovery/SKILL.md (1)

33-40: Host targeting is now inconsistent with existing automation defaults.

This doc now hardcodes luk-server@100.95.204.103, while existing helper scripts still default to server-do-luk. Consider documenting one canonical host selector (alias or explicit host) plus a fallback note to avoid split-brain runbooks.
Cross-file evidence: scripts/homelab-diagnostics.sh:4, scripts/opencode-attach-server-do-luk.sh:5, scripts/opencode-sync-server-do-luk-skills.sh:6.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.cursor/skills/lucky-deploy-recovery/SKILL.md around lines 33 - 40, The doc
hardcodes the host literal "luk-server@100.95.204.103" causing divergence from
existing automation that uses the "server-do-luk" alias; update the SKILL.md
steps that use "luk-server@100.95.204.103" to reference a single canonical host
selector (prefer the alias "server-do-luk") and add a one-line fallback note
showing the explicit IP form for manual use; ensure the change touches the
commands shown (the ssh lines and the stash/reset sequence) and mention the
helper scripts (scripts/homelab-diagnostics.sh,
scripts/opencode-attach-server-do-luk.sh,
scripts/opencode-sync-server-do-luk-skills.sh) as the canonical source of truth
so users know which selector to use.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@AGENTS.md`:
- Around line 149-154: AGENTS.md references four scripts that do not exist
(scripts/Claude-sync-project-skills.sh,
scripts/Claude-install-community-plugins.sh, scripts/Claude-verify.sh,
scripts/Claude-attach-server-do-luk.sh); update the doc to either remove these
script references or add/implement the missing scripts. Locate the mentions in
AGENTS.md (the block listing Repo-local Claude Code and the four scripts) and
either delete the four script lines and replace them with equivalent manual
steps or create the corresponding executable scripts that perform the described
tasks (sync project skills, install community plugins, verify config/plugins,
and attach to server with Claude_REMOTE_DIR support), ensuring names exactly
match the referenced symbols so the documentation and repo stay consistent.

---

Nitpick comments:
In @.cursor/skills/lucky-deploy-recovery/SKILL.md:
- Around line 33-40: The doc hardcodes the host literal
"luk-server@100.95.204.103" causing divergence from existing automation that
uses the "server-do-luk" alias; update the SKILL.md steps that use
"luk-server@100.95.204.103" to reference a single canonical host selector
(prefer the alias "server-do-luk") and add a one-line fallback note showing the
explicit IP form for manual use; ensure the change touches the commands shown
(the ssh lines and the stash/reset sequence) and mention the helper scripts
(scripts/homelab-diagnostics.sh, scripts/opencode-attach-server-do-luk.sh,
scripts/opencode-sync-server-do-luk-skills.sh) as the canonical source of truth
so users know which selector to use.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ef335c93-e0cc-4d92-8ae2-5bc86217633e

📥 Commits

Reviewing files that changed from the base of the PR and between 47c54b6 and 2548e0e.

📒 Files selected for processing (4)
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
  • .cursor/skills/lucky-deploy-recovery/SKILL.md
  • .cursor/skills/opencode-lucky-workflows/SKILL.md
  • AGENTS.md
💤 Files with no reviewable changes (1)
  • .cursor/skills/opencode-lucky-workflows/SKILL.md
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Quality Gates
  • GitHub Check: SonarCloud Scan
🧰 Additional context used
🧠 Learnings (15)
📓 Common learnings
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: .cursor/rules/subagent-data.mdc:0-0
Timestamp: 2026-03-09T20:21:46.291Z
Learning: Use `.cursor/skills/prisma-redis-lucky/SKILL.md` for Prisma schema, migrations, Redis client, and key patterns
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to .opencode/skills/**/* : Store OpenCode skill bridging in `.opencode/skills`; use `scripts/opencode-sync-project-skills.sh` after changes
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: When CI tests fail or gate checks are required, use the `lucky-ci-gate-recovery` skill for triage and recovery; when deployment issues occur, use `lucky-deploy-recovery` and `deploy-homelab` skills for webhook errors and container recovery
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to **/*.{ts,tsx} : Use the `prisma-redis-lucky` skill when adding or modifying database schema, migrations, or Redis operations in the shared package
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to **/Dockerfile : Use the `lucky-docker-dev` skill for Docker container configuration, build, and deployment
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to docs/**/*.md : Update relevant documentation in `docs/` (ARCHITECTURE, MCP_SETUP, FRONTEND, WEBAPP_SETUP, etc.) when behavior or setup changes; use `mcp-docs-search` skill for docs lookup and web search

Applied to files:

  • AGENTS.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-09T20:20:32.245Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: .cursor/rules/documentation.mdc:0-0
Timestamp: 2026-03-09T20:20:32.245Z
Learning: Applies to README.md : Update README.md if behavior changed

Applied to files:

  • AGENTS.md
📚 Learning: 2026-03-09T20:20:32.245Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: .cursor/rules/documentation.mdc:0-0
Timestamp: 2026-03-09T20:20:32.245Z
Learning: Applies to **/docs/**/*.{md,mdx} : Keep API documentation in sync with code changes

Applied to files:

  • AGENTS.md
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: When CI tests fail or gate checks are required, use the `lucky-ci-gate-recovery` skill for triage and recovery; when deployment issues occur, use `lucky-deploy-recovery` and `deploy-homelab` skills for webhook errors and container recovery

Applied to files:

  • AGENTS.md
  • .cursor/skills/lucky-deploy-recovery/SKILL.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to opencode.jsonc : OpenCode behavior configuration lives in `opencode.jsonc`, `.opencode/plugins`, and `.opencode/skills`; use `scripts/opencode-sync-project-skills.sh` after changing project skills or OpenCode skill bridges, `scripts/opencode-install-community-plugins.sh` to prime approved plugins, and `scripts/opencode-verify.sh` after config/plugin changes

Applied to files:

  • AGENTS.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to **/*.test.{ts,tsx,js,jsx} : Use the `e2e-playwright` skill for E2E tests with Playwright and browser verification; use `testing-lucky` skill for unit tests, Jest ESM mocks, and enabling disabled tests

Applied to files:

  • AGENTS.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to .opencode/skills/**/* : Store OpenCode skill bridging in `.opencode/skills`; use `scripts/opencode-sync-project-skills.sh` after changes

Applied to files:

  • AGENTS.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to .opencode/plugins/**/* : Store OpenCode plugin configurations in `.opencode/plugins`; use `scripts/opencode-sync-project-skills.sh` after changes and `scripts/opencode-verify.sh` to validate

Applied to files:

  • AGENTS.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-09T20:21:46.291Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: .cursor/rules/subagent-data.mdc:0-0
Timestamp: 2026-03-09T20:21:46.291Z
Learning: Use `.cursor/skills/prisma-redis-lucky/SKILL.md` for Prisma schema, migrations, Redis client, and key patterns

Applied to files:

  • AGENTS.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to docker-compose.yml : Use the `lucky-docker-dev` skill for Docker and docker-compose configuration, local development setup, and container management

Applied to files:

  • AGENTS.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-09T20:21:08.612Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: .cursor/rules/lucky-project.mdc:0-0
Timestamp: 2026-03-09T20:21:08.612Z
Learning: Applies to docker-compose.dev.yml : Use Docker for local environment setup when available via `docker-compose.dev.yml`

Applied to files:

  • AGENTS.md
📚 Learning: 2026-03-15T14:34:47.397Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-15T14:34:47.397Z
Learning: Applies to **/Dockerfile : Use the `lucky-docker-dev` skill for Docker container configuration, build, and deployment

Applied to files:

  • AGENTS.md
  • .cursor/skills/lucky-deploy-recovery/SKILL.md
  • .cursor/skills/Claude-lucky-workflows/SKILL.md
📚 Learning: 2026-03-09T20:22:25.255Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: .cursor/rules/workflow.mdc:0-0
Timestamp: 2026-03-09T20:22:25.255Z
Learning: Applies to {**/scripts/**,scripts/**,.github/workflows/**/*.{yml,yaml},**/.gitlab-ci.yml,.circleci/config.yml} : Use cross-platform environment handling in scripts, cross-platform deletion utilities instead of OS-specific commands, pass non-interactive flags (--yes, --ci) by default in automation, and avoid OS-specific commands

Applied to files:

  • AGENTS.md
📚 Learning: 2026-03-09T20:21:08.612Z
Learnt from: CR
Repo: LucasSantana-Dev/Lucky PR: 0
File: .cursor/rules/lucky-project.mdc:0-0
Timestamp: 2026-03-09T20:21:08.612Z
Learning: Applies to {scripts/**,packages/scripts/**} : Prefer `packages/scripts` or root `scripts/` for one-off automation; avoid maintaining one-time scripts in the repository long term

Applied to files:

  • AGENTS.md
🪛 LanguageTool
AGENTS.md

[style] ~153-~153: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...dd-ons locally or on server-do-luk. - Use scripts/Claude-verify.sh after Claude...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🔇 Additional comments (2)
AGENTS.md (1)

41-41: Rename in skills table looks consistent.

This row correctly aligns the table with the new Claude-lucky-workflows skill naming.

.cursor/skills/Claude-lucky-workflows/SKILL.md (1)

1-110: New Claude workflow skill doc is clear and well-scoped.

Scope, config boundaries, validation flow, and remote recovery guidance are documented in a usable sequence.

Comment thread AGENTS.md
@sonarqubecloud

Copy link
Copy Markdown

@LucasSantana-Dev
LucasSantana-Dev merged commit 85ece4a into main Mar 15, 2026
15 checks passed
LucasSantana-Dev added a commit that referenced this pull request May 13, 2026
…lows, fix SSH refs (#289)

* chore(skills): migrate opencode-lucky-workflows to Claude-lucky-workflows, fix SSH refs

* fix(test): add prismaClient mock to prevent ESM import.meta parse error

---------

Co-authored-by: Lucas Santana <lucassantana@users.noreply.github.com>
Co-authored-by: Lucas Santana <lucas@lucassantana.tech>

This branch was successfully deployed

1 active deployment
Preview — 18977841 Deployed Mar 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants