Skip to content
Back to skills

Trellis Start

ASecurity

Initializes an AI development session by loading exact current-task facts, the workflow Phase Index, and the current workflow-owned continuation contract when a task is bound. Use when beginning a new coding session or re-establishing project context.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
developmentpythonbashgit

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add castbox/guru-trellis --skill trellis-start --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trellis Start?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Trellis Start
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/castbox-trellis-start/badge)](https://www.skillsdirectory.com/skills/castbox-trellis-start)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: trellis-start
description: "Initializes an AI development session by loading exact current-task facts, the workflow Phase Index, and the current workflow-owned continuation contract when a task is bound. Use when beginning a new coding session or re-establishing project context."
---

# Start Session

Initialize a Trellis-managed development session. This platform has no session-start hook, so load the current repository facts and delegate workflow-specific continuation to the active workflow.

---

## Step 1: Load Exact Context

```bash
python3 ./.trellis/scripts/get_context.py
```

This output contains Git facts, the exact current-session task binding, and project task inventory. Treat only `## CURRENT SESSION TASK` as current-task authority. `## PROJECT TASKS` is display-only and must never be used to choose a replacement task.

If context resolution reports a stale, conflicting, corrupt, or ambiguous binding, stop and report that result. Do not select another task.

If the output includes a line beginning `Trellis update available:`, copy the full line verbatim when summarizing session context. Do not shorten operational command hints.

## Step 2: Load the Current Workflow Overview

```bash
python3 ./.trellis/scripts/get_context.py --mode phase
```

Keep the returned Phase Index together with the current-task facts from Step 1.

## Step 3: Enter or Continue

- If `## CURRENT SESSION TASK` is `(none)`, follow only the current workflow's initial request entry from the Phase Index. Do not create or select a task from `## PROJECT TASKS` unless that entry and the user authorize it.
- If an exact current task is present, load the validated Task workspace's continuation contract:

  ```bash
  python3 ./.trellis/scripts/get_context.py --mode continuation
  ```

  Execute the returned contract using the exact current-task facts and Phase Index already loaded. The contract, not this entry, decides the workflow-specific next owner, recovery path, or fail-closed stop.

If continuation extraction returns `invalid_continuation_contract` or any resolver error, stop and report the typed diagnostic. Do not infer a route from task status, artifacts, Git history, project inventory, or earlier conversation text.

## Step 4: Load Coding Guidelines When Needed

Before implementation, discover package/layer specs and read the relevant indexes:

```bash
python3 ./.trellis/scripts/get_context.py --mode packages
cat .trellis/spec/guides/index.md
cat .trellis/spec/<package>/<layer>/index.md
```

Full workflow detail remains in `.trellis/workflow.md` and should be read on demand.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.