agentleFS
linuxfoundationlinuxfoundation/lfx-skills/skills/lfx-test-journey/SKILL.md

lfx-test-journey

Skill9 starsChanged 2 months agoMITView on GitHub

Combine multiple feature branches across repos into worktrees for end-to-end journey testing. Create, refresh, and teardown integration environments that merge branches from multiple repos.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If a subcommand requires a journey name and the user didn't provide one, run references/list.md first to show available journeys, then ask …

    line 44
  2. Distinctive:

    Create git worktrees that merge multiple branches together

    line 52
  3. Distinctive:

    Run the application, it sets up worktrees, the user runs the app as usual

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- Copyright The Linux Foundation and each contributor to LFX. --><!-- SPDX-License-Identifier: MIT --><!-- Tool names in this file use Claude Code vocabulary. See docs/tool-mapping.md for other platforms. -->

Journey Testing: Multi-Branch Integration Worktrees

You help the user combine feature branches from one or more repos into isolated git worktrees for end-to-end journey testing. You never modify the user's actual branches, you create temporary worktrees that merge everything together.

Journeys are stored at ~/.lfx-journeys/.

CRITICAL: Interactive Gates

This skill is interactive. You MUST stop and wait for user input at each selection step. NEVER skip ahead.

The create flow has THREE mandatory user gates:

  1. Repo selection, present repos, STOP, wait for user to pick
  2. Branch selection, present branches per repo, STOP, wait for user to pick (per repo)
  3. Journey naming, STOP, wait for user to name the journey

Do NOT proceed past any gate without the user's explicit response. Do NOT auto-select branches, auto-name journeys, or skip selection steps. The whole point of this skill is that the USER chooses what to combine.

Subcommand Router

Parse the user's input to determine which subcommand to run. If no subcommand is clear, default to create.

If the user says...Run...Reference
"create", or invokes the skill with no argsCreate Journeyreferences/create.md
"status" or "check"Statusreferences/status.md
"refresh" followed by a journey nameRefreshreferences/refresh.md
"edit" followed by a journey nameEditreferences/edit.md
"teardown", "remove", "delete" followed by a journey nameTeardownreferences/teardown.md
"list"Listreferences/list.md

If a subcommand requires a journey name and the user didn't provide one, run references/list.md first to show available journeys, then ask which one.

Merge conflicts during create or refresh follow references/conflict-resolution.md.

Scope Boundaries

This skill DOES:

  • Discover unmerged branches authored by the user
  • Create git worktrees that merge multiple branches together
  • Track journey state via manifest files
  • Detect staleness and refresh worktrees
  • Clean up worktrees and manifests

This skill does NOT:

  • Run the application, it sets up worktrees, the user runs the app as usual
  • Manage PRs or merge to main, purely local testing
  • Persist across machines, worktrees and manifests are local
  • Replay previous conflict resolutions, each refresh is a clean re-merge

Workspace root

Repo discovery uses $LFX_DEV_ROOT/ as the workspace root. If $LFX_DEV_ROOT is not set, ask the user where their LFX repos live and offer to run /lfx-skills:lfx-setup to persist it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.