aiden-build
npx machina-cli add skill znkd/tentacles/aiden-build --openclawFiles (1)
SKILL.md
882 B
Aiden Build
Workflow
- Ensure you are in the Aiden project root (the folder that contains
src-tauri/). - Run one of these script commands:
npx tsx skills/aiden-build/scripts/aiden-build.ts(prep + prompt for build/dev)npx tsx skills/aiden-build/scripts/aiden-build.ts prepnpx tsx skills/aiden-build/scripts/aiden-build.ts buildnpx tsx skills/aiden-build/scripts/aiden-build.ts devnpx tsx skills/aiden-build/scripts/aiden-build.ts --uploadDMG
Notes
- If the binaries are missing, ask the user whether to proceed and how to obtain them.
- If codesign fails, capture the exact error and ask how to proceed.
Source
git clone https://github.com/znkd/tentacles/blob/main/skills/aiden-build/SKILL.mdView on GitHub Overview
This skill automates building the Aiden Tauri project, applying required chmod and codesign steps. It supports prep, build, dev, and Apple-darwin binary preparation to streamline workflows and keep releases consistent.
How This Skill Works
Run from the Aiden project root (the folder that contains src-tauri/). Execute one of the TSX script commands to prep, build, dev, or upload the DMG, for example: npx tsx skills/aiden-build/scripts/aiden-build.ts --uploadDMG. If binaries are missing or codesign fails, the script prompts for direction and reports the exact error to guide next steps.
When to Use It
- When you are asked to build Aiden, and need the full prep, build, or dev workflow.
- When you want to run Tauri build or dev for Aiden from the project root.
- When you must prepare Apple-darwin binaries (DMG) before a release.
- When binaries are missing and you need to decide whether to proceed.
- When codesign fails and you need precise error guidance for next steps.
Quick Start
- Step 1: cd into the Aiden project root (the folder containing src-tauri/).
- Step 2: run a command such as npx tsx skills/aiden-build/scripts/aiden-build.ts build.
- Step 3: if prompted, provide extra input or run with --uploadDMG to prepare DMG.
Best Practices
- Run the skill from the Aiden project root (the folder containing src-tauri/).
- Use explicit subcommands (prep, build, dev, --uploadDMG) to avoid ambiguity.
- Verify binaries exist or confirm proceeding when missing.
- Capture and report codesign errors with exact messages to guide troubleshooting.
- Document each build and DMG upload in a changelog for release traceability.
Example Use Cases
- Developer runs npx tsx skills/aiden-build/scripts/aiden-build.ts prep to set required chmod and prep files.
- Engineer executes npx tsx skills/aiden-build/scripts/aiden-build.ts build to perform a full Aiden build.
- Team member uses npx tsx skills/aiden-build/scripts/aiden-build.ts dev to run a development build quickly.
- QA asks for a DMG; operator runs npx tsx skills/aiden-build/scripts/aiden-build.ts --uploadDMG to prepare Apple-darwin binaries.
- If codesign reports an error, the tool captures the message and asks for how to proceed.
Frequently Asked Questions
Add this skill to your agents