alloy-howtos

Configure Titanium Alloy projects using Alloy CLI commands and configuration files.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/macCesar/titools --skill alloy-howtos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alloy-howtos
Source: https://github.com/macCesar/titools/tree/main/skills/alloy-howtos
Command: npx skills add https://github.com/macCesar/titools --skill alloy-howtos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Titanium Alloy project setup and CLI guidance can be scattered across docs; this skill consolidates practical workflows, configuration hints, and debugging tips to accelerate development.

Core Features & Use Cases

  • Centralized Alloy CLI commands guidance (new, generate, compile, install).
  • Configuration file guidance for alloy.jmk and config.json, with best-practices notes.
  • Debugging tips and XML/Backbone practices, plus how to structure projects.

Quick Start

Start by configuring an Alloy project with alloy.jmk and running through common CLI tasks.

Frequently Asked Questions about alloy-howtos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a new Titanium Alloy project using the Alloy CLI?

To set up a Titanium Alloy project, use the Alloy CLI to generate a new project, then configure files like alloy.jmk and config.json with the appropriate build settings and environment dependencies.

What is the best way to configure alloy.jmk for a Titanium Alloy project?

Configuring alloy.jmk involves defining build tasks and hooks within the Titanium Alloy project structure. The Alloy CLI uses this file to execute custom compile-time scripts and modify build workflows.

How do I debug compile errors in an Alloy CLI project?

Debugging Alloy CLI compile errors requires checking the CLI command output logs, verifying XML view syntax, and ensuring Backbone.Events patterns are implemented correctly to isolate project setup issues.

Can I use Backbone.Events with conditional views in Titanium Alloy?

Yes, Titanium Alloy supports implementing Backbone.Events with conditional views. You can structure the project to trigger these events through the Alloy CLI workflow during the compile and install phases.

What are common Alloy CLI commands for project workflows?

Common Alloy CLI commands include new for project creation, generate for scaffolding components, compile for building the project, and install for deploying the Titanium application to devices.

Why is my Titanium Alloy config.json not applying settings correctly?

If your config.json is not applying settings, verify the JSON formatting and ensure the Alloy CLI is reading the file during compile to properly map dependencies and conditional view configurations.