# Author templates

> Author templates is an open-source agent skill for developer tools. Guides the agent through creating or updating reusable project templates and scaffolds. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/AgiFlow/aicode-toolkit/tree/main/plugins/aicode-admin/skills/author-templates
- **Repository:** https://github.com/agiflow/aicode-toolkit
- **GitHub stars:** 162
- **License:** AGPL-3.0
- **Skill name:** author-templates
- **Collection:** https://github.com/AgiFlow/aicode-toolkit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill walks the agent through authoring reusable boilerplate templates and feature scaffolds inside a consumer workspace. It starts by inspecting the existing templates tree, the scaffold configuration file, and project metadata so new templates follow the workspace's variable conventions rather than plugin cache paths.

Before changing anything, the agent must present a proposed template name, variables, affected paths and overwrite risk, then wait for approval. Once approved, it uses scaffold admin tools to generate boilerplate, feature scaffolds or individual boilerplate files, and checks each file against design-pattern and code-review tools before editing it. Client configuration is never synchronized or overwritten automatically.

The skill ends with validation: it checks the scaffold configuration against real output in a temporary fixture and confirms the new template is discovered by the listing tools. The final report covers changed files, validation results and any manual decisions left to the user. It depends on the AgiFlow scaffold toolkit and its admin tools being available.

## When your agent uses it

> Create or update reusable toolkit boilerplate templates and feature scaffolds. Trigger for explicit template-authoring requests. Do not trigger for simply generating an app or feature from an existing template.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/AgiFlow/aicode-toolkit/tree/HEAD/plugins/aicode-admin/skills/author-templates)
- [License: AGPL-3.0](https://github.com/AgiFlow/aicode-toolkit/tree/HEAD/plugins/aicode-admin/skills/author-templates)

## Features

- **Template inspection first:** Reviews the existing templates folder, scaffold configuration and variable conventions before proposing any change.
- **Approval gate for admin tools:** Requires a proposed plan with overwrite risk to be approved before any scaffold admin operation runs.
- **Boilerplate and feature generation:** Covers generating full boilerplates, feature scaffolds and single boilerplate files through scaffold admin tools.
- **Code change review:** Checks each file to be changed against design-pattern guidance and code review rules before editing.
- **Fixture-based validation:** Tests the scaffold configuration against generated output in a temporary fixture and confirms discovery.

## Good for

- Create a reusable boilerplate template for a new service in this workspace
- Add a feature scaffold for authentication that other projects can generate
- Update an existing template's variables and check it is still discovered
- Turn a finished project layout into a template for future projects

## Install

### Claude Code

This skill ships in the `aicode-admin` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add AgiFlow/aicode-toolkit
/plugin install aicode-admin@aicode-toolkit
```

Or copy only this skill to `~/.claude/skills/author-templates`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/author-templates &&
cp -R "$tmp/plugins/aicode-admin/skills/author-templates" ~/.claude/skills/author-templates &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/author-templates` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/author-templates` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/author-templates &&
cp -R "$tmp/plugins/aicode-admin/skills/author-templates" ~/.agents/skills/author-templates &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/author-templates` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/author-templates` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/author-templates &&
cp -R "$tmp/plugins/aicode-admin/skills/author-templates" ~/.cursor/skills/author-templates &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/author-templates` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/AgiFlow/aicode-toolkit.git --path plugins/aicode-admin/skills/author-templates
```

Or copy the folder to `~/.gemini/skills/author-templates` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/author-templates`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/author-templates &&
cp -R "$tmp/plugins/aicode-admin/skills/author-templates" ~/.copilot/skills/author-templates &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/author-templates` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit.git
```

Then copy `aicode-toolkit/plugins/aicode-admin/skills/author-templates` into your agent's skills folder as `author-templates`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Author templates trigger?

Only for explicit template-authoring requests. It should not trigger when the user simply wants to generate an app or feature from an existing template.

### Does Author templates change files without asking?

No. It proposes the template name, variables, affected paths and overwrite risk and waits for approval before invoking scaffold admin tools or editing files.

### What does Author templates need to run?

It relies on the scaffold admin tools (generate-boilerplate, generate-feature-scaffold, generate-boilerplate-file) and a scaffold.yaml file in the consumer workspace.

### Does Author templates sync client configuration?

No. The skill states that it never automatically synchronizes or overwrites client configuration.

### How do I install Author templates in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/author-templates to use it in all your projects, or to .claude/skills/author-templates in one project. Or install the aicode-admin plugin, which includes it: /plugin marketplace add AgiFlow/aicode-toolkit, then /plugin install aicode-admin@aicode-toolkit.

### Does Author templates run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Author templates?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Author templates?

The closest alternatives to Author templates are Develop feature, Create project, Template skill, Initialize workspace and Skill creator.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Develop feature](https://ai-powered.com/skills/develop-feature): Develop feature is an open-source agent skill for developer tools.
- [Create project](https://ai-powered.com/skills/create-project): Create project is an open-source agent skill for developer tools.
- [Template skill](https://ai-powered.com/skills/template-skill-flagos-ai): Template skill is an open-source agent skill for developer tools.
- [Initialize workspace](https://ai-powered.com/skills/initialize-workspace): Initialize workspace is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-base44): Skill creator is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-melandlabs): Skill creator is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-openai): Skill creator is an open-source agent skill for developer tools.
- [Skill writer](https://ai-powered.com/skills/skill-writer): Skill writer is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/author-templates
