ワンクリックで
jyc-deploy-bare
Build and deploy jyc on bare metal using deploy.sh with nohup. Use when instructed to build, deploy, or build-and-deploy jyc.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Build and deploy jyc on bare metal using deploy.sh with nohup. Use when instructed to build, deploy, or build-and-deploy jyc.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Development workflow - branching, fix/feature flow, release process, version bump, commit conventions. Use when: planning development work, creating branches, merging, preparing releases, bumping version, updating changelog.
Process invoices from messages (PDF/image attachments or URLs). Extract key values, validate mandatory fields, organize by month, update Excel. Use when: receiving invoices, processing receipts, bookkeeping tasks.
Incremental development methodology - small step iteration with validation. Use when: implementing features, fixing bugs, making code changes, planning implementation. 渐进式小步迭代开发方法。
Review pull requests. Read-only analysis — does NOT modify code, build, deploy, or run tests. Use when: review PR, code review, check branch changes.
Expert UI/UX/Frontend engineer agent. Covers UX heuristics, design systems, accessibility (WCAG 2.2), CSS architecture, design tokens, typography, color theory, motion design, responsive design, Core Web Vitals performance, modern frontend architecture, design-to-code workflow, and testing. Use when building UI, reviewing designs, optimizing frontend performance, or making UX decisions.
Andrej Karpathy's 4 coding principles for LLM agents: Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution. Use when writing code, planning, or reviewing code to reduce common LLM coding mistakes.
| name | jyc-deploy-bare |
| description | Build and deploy jyc on bare metal using deploy.sh with nohup. Use when instructed to build, deploy, or build-and-deploy jyc. |
IMPORTANT: The JYC source repository is at ./jyc/ relative to your working directory.
All commands below MUST be run from the jyc/ directory (use cd jyc first).
CRITICAL: AI MUST use TWO-PHASE CONFIRMATION for ALL build/deploy operations:
Phase 1 - Present Plan:
Phase 2 - Wait for Approval:
CRITICAL: Never execute build/deploy commands without explicit user approval.
MUST follow TWO-PHASE CONFIRMATION above before executing. MUST execute EXACTLY these commands in order:
CRITICAL: Do NOT improvise or use alternative build commands.
MUST follow TWO-PHASE CONFIRMATION above before executing.
WARNING: Deploy causes JYC to restart. Your session will be interrupted. WARNING: Process will be killed and restarted automatically by deploy.sh.
MUST execute EXACTLY these steps in order:
Step 1: Verify jyc/target/release/jyc exists Step 2: Execute the deploy command FIRST (it returns immediately, deployment runs in background):
systemd-run --user --unit=jyc-deploy-$(date +%s) --working-directory=$(pwd)/jyc bash ./deploy.sh
This runs deploy.sh as a separate systemd transient unit, outside the jyc service cgroup, so it survives the jyc service stop/restart cycle. The timestamp in the unit name prevents conflicts with previous deploy units. Step 3: IMMEDIATELY after the deploy command, send reply using reply_message tool confirming deployment started. Step 4: STOP immediately. Do NOT run any more commands.
CRITICAL Warnings:
bash ./deploy.sh — it MUST use systemd-run to survive the service restartMUST follow TWO-PHASE CONFIRMATION above before executing. MUST execute EXACTLY these steps in order:
You can query the jyc service with these observation commands:
# Check service status
systemctl --user status jyc
# View service logs
journalctl --user -u jyc -f
CRITICAL: These are observation-only commands. For deployment, ALWAYS use deploy.sh as specified above.