ワンクリックで
source-command-fix-ci
Run the migrated source command `fix-ci`.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run the migrated source command `fix-ci`.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Download and inspect a single turn of a real Lorcana game from production using the `tcg-replay` CLI. Use whenever you need to understand what actually happened in a player-reported bug — gives you the cards involved (with file paths), the pre-turn match state, and a step-by-step trace of moves, engine logs, and JSON patches for that turn.
What to adapt for (mobile, tablet, desktop, print, email, etc.)
The feature or component to animate (optional)
The feature or area to audit (optional)
Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.
Configure rate limiting, manage auth secrets, set up CSRF protection, define trusted origins, secure sessions and cookies, encrypt OAuth tokens, track IP addresses, and implement audit logging for Better Auth. Use when users need to secure their auth setup, prevent brute force attacks, or harden a Better Auth deployment.
| name | source-command-fix-ci |
| description | Run the migrated source command `fix-ci`. |
Use this skill when the user asks to run the migrated source command fix-ci.
Automated command to run CI checks, analyze errors, and fix them using intelligent delegation.
Simply invoke this command when you need to fix CI errors across the monorepo.
This command orchestrates a complete CI error resolution workflow:
bun run ci-check from the repository rootci-fixer sub-agentExecute the CI check command from the repository root:
cd /Users/eduardo.moroni/projects/lorcanito && bun run ci-check
This runs turbo run lint check-types test which includes:
Analyze the output and categorize errors:
Pattern: path/to/file.ts:line:col lint/rule-name ━━━━
Pattern: path/to/file.ts(line,col): error TSxxxx: message
Pattern: FAIL path/to/test.ts or test name assertions
For each file with errors, apply this decision matrix:
| Condition | Action |
|---|---|
| 1-3 simple errors in file | Fix inline in main context |
| 4+ errors in single file | Delegate file to ci-fixer agent |
| 10+ errors across package | Delegate entire package to ci-fixer agent |
| Complex refactoring needed | Delegate to ci-fixer agent |
| External dependency issue | Report as unfixable, document workaround |
For files with 1-3 simple errors:
bunx turbo lint check-types --filter=@lorcanito/{package}
For complex scenarios, invoke the ci-fixer sub-agent:
Use the ci-fixer agent to fix errors in {file_path or package_name}
Error context:
- Error type: {lint|type|test}
- Error count: {N}
- Specific errors:
{list of error messages}
The sub-agent will:
After each batch of fixes:
Re-run the relevant check:
# For specific package
bunx turbo lint check-types test --filter=@lorcanito/{package}
# Or full CI check
bun run ci-check
If new errors appear:
If errors persist after 3 attempts:
Provide a summary:
## CI Fix Results
### Fixed
- ✅ {file}: {error_type} - {description}
### Unfixable (Requires Manual Intervention)
- ⚠️ {file}: {reason}
Suggested workaround: {suggestion}
### Commands to Verify
bun run ci-check
any types - Maintain type safetyIf an error originates from:
When delegating to ci-fixer, provide structured context:
## Delegation Request
**Target**: {file_path or @lorcanito/package-name}
**Error Type**: {lint | type | test | mixed}
**Error Count**: {N}
### Errors to Fix
1. {error_message_1}
2. {error_message_2}
...
### Constraints
- Only modify files in: {scope}
- Follow patterns from: {similar_files}
- Validation command: {check_command}
The command is complete when:
bun run ci-check passes with zero errorsOR
Migrated from source command fix-ci into a Codex skill. Invoke it as $source-command-fix-ci and manually rewrite any slash-command behavior that depended on provider-specific runtime expansion.
Provider automatic file-reference expansion was preserved as text; verify Codex should read those files explicitly.