Quick Start
This guide creates a project that manages a binary tool, an agentic skill, and a task pipeline — using all three of Luca's capabilities in one place.
1. Scaffold a Lucafile
Inside your project directory, run:
bash
luca initThis creates a starter Lucafile in the current directory.
2. Edit the Lucafile
Open the generated Lucafile and add a tool and a skill:
yaml
---
tools:
- name: SwiftLint
binaryPath: SwiftLintBinary.artifactbundle/swiftlint-0.61.0-macos/bin/swiftlint
version: 0.61.0
url: https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip
skills:
- name: swift-testing-expert
repository: AvdLee/Swift-Testing-Agent-Skill
agents:
- claude-code3. Install Tools and Skills
bash
luca installLuca downloads SwiftLint to ~/.luca/tools/SwiftLint/0.61.0/ and symlinks it into .luca/tools/. It also clones the skill repository and symlinks the skill into .claude/skills/.
Verify the tool is available:
bash
which swiftlint
# $PWD/.luca/tools/swiftlint
swiftlint --version
# 0.61.04. Create a Pipeline
Create a pipelines/ directory and add a pipeline file:
bash
mkdir pipelinesWrite the following to pipelines/ci.yml:
yaml
---
parameters:
- name: flavor
description: Build configuration
default: debug
tasks:
- name: Lint
command: swiftlint lint --strict
- name: Build
command: swift build --configuration ${flavor}
- name: Test
command: swift test
when: ${flavor} == debug5. Run the Pipeline
bash
luca run ciTo run with a different flavor:
bash
luca run ci --param flavor=releasePreview what will run without executing:
bash
luca run ci --dry-runNext Steps
- Installing Tools — install tools directly from GitHub without a Lucafile
- Pipeline Engine: Overview — full pipeline file lookup and execution details
- Skill Management — install skills for specific agents