---
title: "Extensions"
description: "Build real Autohand Code extension packages from an empty directory through validation, runtime use, project composition, diagnostics, and immutable distribution."
sidebar:
  label: "Overview"
seo:
  title: "Extensions Tutorials"
  description: "Detailed Autohand Code extension tutorials: author declarative and trusted runtime packages, build every reference pattern, use linked development and project scope."
---

## Start with a complete lifecycle

**[Build your first extension with $extension-builder · Start here](/tutorials/extensions/authoring-your-first-extension)**

Ask the built-in authoring skill for a complete package, then inspect its tool, agent, contributed `SKILL.md`, validation, invocation, and lifecycle proof.

_Fast guided first build_

**[Integrate with Atlassian Rovo · Level 500](/tutorials/extensions/500-atlassian-rovo-integration)**

Combine a declarative Agent Skill with Rovo MCP, OAuth, live tool discovery, mutation confirmation, verification, and production controls.

_Advanced enterprise integration_

**[Build a trusted runtime extension · Runtime API](/tutorials/extensions/build-runtime-extension)**

Register `/deploy`, an Ink menu, line content, a shortcut, flag, hook, provider, and permission policy behind explicit trust.

_Executable Extension API v1_

**[Develop with links and live refresh](/tutorials/extensions/linked-development-workflow)**

Use `--link` safely, diagnose edits, refresh an active session, and prove the copied artifact before release.

_Development loop_

**[Build a project-scoped barebone CLI · Composition](/tutorials/extensions/project-scoped-barebone)**

Install a controlled extension set under `.autohand/extensions` and run it with `autohand --bare`.

_Minimal team runtime_

**[Validate and publish](/tutorials/extensions/validate-and-publish)**

Create failure fixtures, automate JSON checks, verify copied installation, and distribute an immutable source release.

_Release workflow_

## Build the reference patterns

These tutorials reproduce the packages shipped with the Autohand Code CLI. Together they cover tool, agent, skill, and trusted runtime contributions with exact file contents.

**[Code Health](/tutorials/extensions/code-health-extension)**

Combine a TODO/FIXME discovery tool with a maintainability reviewer.

_Tool + agent_

**[Test Triage](/tutorials/extensions/test-triage-extension)**

Use a required file parameter and resolve an extension tool inside an agent allowlist.

_Focused execution_

**[Git Insights](/tutorials/extensions/git-insights-extension)**

Package multiple deterministic, read-only Git evidence tools.

_Multiple tools_

**[Security Audit](/tutorials/extensions/security-audit-extension)**

Compose useful audit commands without treating install-time validation as approval.

_Authorization boundary_

**[Release Assistant](/tutorials/extensions/release-assistant-extension)**

Use versioned metadata, a multi-parameter template, and an evidence-driven planner.

_Release workflow_

**[Workspace Brief · Agent Skill](/tutorials/extensions/workspace-brief-extension)**

Pair deterministic Git evidence tools with a portable `$workspace-brief` workflow.

_Tools + skill_

## Prerequisites for every tutorial

- A current Autohand Code CLI with the `autohand extensions` command tree.
- A safe test repository; do not evaluate a new package in a sensitive production checkout.
- An editor that preserves UTF-8 and JSON formatting.
- The executables referenced by the tutorial handlers, such as `git` or `bun`.
- A normal permission policy so you can verify approval and denial behavior.

```bash
autohand extensions --help
autohand --version
```
