lfx
/lfx
LFX cross-repo topology and ownership router. Use when the task spans more than one LFX repo, asks "which repo owns X", "where does Y live", "what repos does this touch", "what consumes Z", or needs a peer-repo file path from inside a single repo. Loads per-repo configs when invoked from the LFX workspace root with a full task prompt; gives targeted cross-repo guidance when invoked from inside a single repo. Also answers LFX glossary and topology questions, and performs read-only discovery when the user asks whether a contract, API, event, field, workflow, or repo capability exists. Do not fir
- Author
- linuxfoundation ↗
- Repository
- lfx-skills ↗
- Licence
- MIT
- Last repository change
- 21.10.2026
Assessment and security
- Files in this package
- 9
- Scripts
- 0
- HTML comments
- 2
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 21.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
LFX cross-repo topology and ownership router. Use when the task spans more than one LFX repo, asks "which repo owns X", "where does Y live", "what repos does this touch", "what consumes Z", or needs a peer-repo file path from inside a single repo. Loads per-repo configs when invoked from the LFX workspace root with a full task prompt; gives targeted cross-repo guidance when invoked from inside a single repo. Also answers LFX glossary and topology questions, and performs read-only discovery when the user asks whether a contract, API, event, field, workflow, or repo capability exists. Do not fir
Triggers from the description
Original author description
LFX cross-repo topology and ownership router. Use when the task spans more than one LFX repo, asks "which repo owns X", "where does Y live", "what repos does this touch", "what consumes Z", or needs a peer-repo file path from inside a single repo. Loads per-repo configs when invoked from the LFX workspace root with a full task prompt; gives targeted cross-repo guidance when invoked from inside a single repo. Also answers LFX glossary and topology questions, and performs read-only discovery when the user asks whether a contract, API, event, field, workflow, or repo capability exists. Do not fir
How it works
- Finding the LFX workspace root
- How LFX fits together (high-level)
- Workflow
- How to use the references
- Sibling central skills
- Workflow skills (this plugin)
- Cross-repo path convention
- Hard rules
SKILL.md preview
---
name: lfx
description: >
LFX cross-repo topology and ownership router. Use when the task spans more
than one LFX repo, asks "which repo owns X", "where does Y live", "what
repos does this touch", "what consumes Z", or needs a peer-repo file path
from inside a single repo. Loads per-repo configs when invoked from the
LFX workspace root with a full task prompt; gives targeted cross-repo
guidance when invoked from inside a single repo. Also answers LFX glossary
and topology questions, and performs read-only discovery when the user asks
whether a contract, API, event, field, workflow, or repo capability exists.
Do not fire for single-repo implementation tasks
where the active repo's own CLAUDE.md already governs (those belong to
the repo's local skills). Do not fire for V2 platform composition, service
classes, or cross-service handoffs (use
`/lfx-skills:lfx-platform-architecture`), ITX wrapper plumbing
(`/lfx-skills:lfx-itx-integration`), or Intercom app/Fin workflows
(`/lfx-skills:lfx-intercom`).
allowed-tools: Bash, Read, Glob, Grep, AskUserQuestion
---
<!-- Copyright The Linux Foundation and each contributor to LFX. -->
<!-- SPDX-License-Identifier: MIT -->
# LFX
Find which LFX repos are needed for a task, load their configs, give
cross-repo guidance, or answer LFX questions.
Four scenarios:
1. **Load configs** for multi-repo work (workspace-root invocation with a
full task prompt or JIRA ticket).
2. **Give guidance** when an agent inside a single repo needs cross-repo
knowledge.
3. **Answer questions** about LFX when no edits are coming.
4. **Research before implementation** when the user asks what exists, what a
task would touch, or whether an upstream contract supports a change.
## Finding the LFX workspace root
The workspace root (parent directory containing all LFX repo checkouts)
varies per user (`~/lfx/`, `~/lf/`, etc.). Find it before referencing
peer-repo paths. Ask the user if unsure (and offer `/lfx-skills:lfx-setup` to persist).
Use `$LFX_DEV_ROOT` throughout this skill's paths.
If a required repo is not present at `$LFX_DEV_ROOT/<repo>`, read its
`GitHub:` URL from `references/repo-map.md` and clone it into the workspace
root:
```bash
git clone <github-url> "$LFX_DEV_ROOT/<repo>"
```
If the clone fails because of auth, network, or missing access, report that
repo as blocked. Do not replace the missing repo with central implementation
guesses.
## How LFX fits together (high-level)
LFX is the Linux Foundation's project-management platform. Three main layers:
- **Self Serve / LFX One** (`lfx-self-serve`): user-facing product (Angular 20
SSR + Express BFF + `@lfx-one/shared`). Consumes V2 APIs.
- **V2 platform** (~14 Go services): resource services own domain (project,
committee, meeting, vote, survey, mailing-list, member); platform services
compose (fga-sync, indexer, query, access-check, auth). Built on Goa + NATS
- KV + OpenFGA. Writes publish contracts to fga-sync (access tuples) and
indexer (search documents).
- **Deployment**: GitOps via ArgoCD. Service-local Helm charts per repo;
umbrella chart + OpenFGA model in `lfx-v2-helm`; values, image tags, and
ApplicationSets in `lfx-v2-argocd`. Auth0 emits JWTs, Heimdall enforces
ruleset checks per route, fga-sync answers access decisions.
Depth lives in the sibling skills below.
## Workflow
Three steps apply to every scenario:
1. **Classify** the task or question. Read `references/glossary.md` if any
LFX term is unclear.
2. **Identify the primary repo** via `references/repo-map.md`. The primary
is where most edits happen and whose local instructions govern.
3. **Identify peer repos** (if any) via `repo-map.md` plus (when ambiguous)
`routing-playbook.md`. Add peers only for contracts, generated APIs,
FGA/indexer data, deployment values, or product consumption that matter.
4. **Resolve missing checkouts** by cloning the `GitHub:` URL listed in
`repo-map.md` when a primary or required peer repo is absent locally.
5. **Read owned truth from the owner repo**. Use `CLAUDE.md` for local work
mode and the top-level `docs/` files it names for contracts and other
repo-owned truth that other agents may consume.
Then, depending on context:
### Workspace-root invocation (full task prompt, JIRA ticket, etc.)
The primary mode for multi-repo work. Load configs for the primary repo and
each peer.
For each repo:
- If `$LFX_DEV_ROOT/<repo>` is missing, clone the repo from the `GitHub:` URL
in `references/repo-map.md`, then continue with local reads.
- Load `$LFX_DEV_ROOT/<repo>/CLAUDE.md`
- Load `$LFX_DEV_ROOT/<repo>/.claude/rules/` for path-scoped conventions
- Load `$LFX_DEV_ROOT/<repo>/.claude/skills/` for available workflows
- Read the top-level `docs/` contract files named by that repo's `CLAUDE.md`
when cross-repo contracts, payloads, subjects, chart handoffs,
integrations, or deployment surfaces matter.
- Browse `$LFX_DEV_ROOT/<repo>/docs/agent-guidance/` only when
`references/repo-map.md` explicitly lists that path as a transitional owner
location for the repo. For Self Serve, use `docs/architecture/` when
`CLAUDE.md` or local skills point there.
Work continues in the same session with the loaded context.
### Single-repo invocation (cross-repo knowledge request)
Give targeted guidance: name the specific peer-repo files the asking agent
should read (at `$LFX_DEV_ROOT/<peer-repo>/<path>`) and any constraints to
apply. Skip the full config load; the asking agent's session is what matters
and may not need everything. If the work is genuinely multi-repo, recommend
relaunching from `$LFX_DEV_ROOT`.
### Cross-repo contract lookup
Use this protocol when an agent in one repo needs a contract, payload, subject,
chart surface, deployment handoff, or integration detail owned by another repo.
Do not infer cross-repo contracts from local examples.
1. Resolve the owner repo using `references/repo-map.md`.
2. If `$LFX_DEV_ROOT/<owner-repo>` is missing, clone the `GitHub:` URL from
`repo-map.md` into the workspace root.
3. Read `references/contract-ownership.md` for the exact owner files for the
contract, payload, subject, chart surface, deployment handoff, or integration
detail being checked.
4. Read `$LFX_DEV_ROOT/<owner-repo>/CLAUDE.md` or `AGENTS.md` for that repo's
local context order.
5. Read the top-level `docs/` files named by that repo's `CLAUDE.md` for the
relevant owned contract.
6. Prefer stable top-level contract docs such as `docs/fga-contract.md`,
`docs/indexer-contract.md`, `docs/fga-sync-contract.md`,
`docs/query-service-contract.md`, or `docs/service-chart-patterns.md`
when present.
7. Report the exact owner file read. If the path is absent, report a
repo-readiness gap instead of substituting central guidance.
### Pure question (no edits coming)
Use references plus forward to sibling skills for depth. Skip the full
config load.
### Research before implementation
Use this mode for read-only discovery before an implementation starts. It
preserves the useful research workflow without adding another central skill.
1. Route the task to the primary repo and required peers using the repo map.
2. Ensure the required repos are available locally; clone missing repos from
their `GitHub:` URLs if needed.
3. Read the owning repo's local truth: `CLAUDE.md` or `AGENTS.md`, relevant
top-level `docs/` contract files, `.claude/skills/`, `.claude/rules/`,
`docs/architecture/`, generated contracts, chart templates, or event docs.
Use `docs/agent-guidance/` only where `repo-map.md` explicitly lists it as a
transitional owner location.
4. Validate whether the needed API, event, field, relation, index document,
query shape, chart value, or deployment reference exists.
5. Find the closest existing example in the owning repo first. Use peer repos
only when the owner points to them as canonical examples.
6. Return concise findings:
```markdown
## Research Findings
**Primary repo:** <repo> - <why it owns the work>
**Peers:** <repo list or none> - <why each matters>
**Contract status:** <exists / partial / missing>. <path, method, subject, field, relation, value>
**Local truth read:** <CLAUDE/rules/skills/docs paths>
**Closest example:** <path> - <why it matches>
**Likely files:** <paths or "implementation belongs in repo-local workflow">
**Blockers:** <none or concrete missing contract/access/repo issue>
**Next step:** <repo-local skill or central skill to use next>
```
## How to use the references
- **`references/glossary.md`**: read FIRST if an LFX term is unclear (Goa,
Heimdall, FGA, OpenFGA, OpenSearch, etc.). Skip for routing decisions.
- **`references/repo-map.md`**: the primary tool for identifying primary
and peer repos. Match task nouns to "route when the task mentions" phrases.
- **`references/contract-ownership.md`**: read after `repo-map.md` when an
agent needs the exact owner and file path for a cross-repo contract,
payload, subject, chart surface, deployment handoff, integration detail, or
other repo-owned truth.
- **`references/routing-playbook.md`**: read only when `repo-map.md` doesn't
give a clear answer or when the task spans multiple repos. Contains
concrete primary/peer examples.
- **`references/deployment-routing.md`**: read INSTEAD of `repo-map.md` for
deployment-related tasks (charts, ApplicationSets, image tags, environment
values). It's the deployment-specific decision tree.
- **`references/topology.md`**: thin routing stub. For platform-shape depth,
forward to `/lfx-skills:lfx-platform-architecture` instead of expanding it.
- **`references/service-types.md`**: thin routing stub. For native, wrapper,
proxy, or V2 Go service-class depth, forward to
`/lfx-skills:lfx-platform-architecture`.
- **`references/data-privacy.md`**: canonical hard rules for handling PII in
test data, logs, persisted stores, tickets, PRs, and code comments. Read
before generating fixtures/examples, before adding a log line that includes
a user field, or before writing a user identifier into a KV, index doc,
FGA tuple, or Jira ticket.
Never load all references by default. Start with the smallest one.
## Sibling central skills
Each auto-fires on its own triggers; can also be invoked explicitly. These
ship in this same `lfx-skills` plugin.
| Topic | Skill |
|--------------------------------------------------------------------------------------------|-------------------------------------------------------|
| Platform composition, V2 service classes, write/read/access-check flows, cross-repo owners | `/lfx-skills:lfx-platform-architecture` |
| Go coding conventions after routing to a service repo | That repo's path-scoped `<short-repo-name>-dev` skill |
| ITX wrapper plumbing (OAuth2 M2M, ID mapping, v1 KV sync) | `/lfx-skills:lfx-itx-integration` |
| Intercom app workflow and Fin AI optimization | `/lfx-skills:lfx-intercom` |
| Object storage capability in a service (uploads, S3, CDN, local dev) | `/lfx-skills:lfx-object-store-design` |
| Object storage backend provisioning (buckets, CloudFront, IRSA) | `/lfx-skills:lfx-object-store-ops` |
### `-ops` skill convention
Skills whose names end in `-ops` are written for **members of the
linuxfoundation GitHub org** (Ops/infrastructure audience). They are
provided for that audience's use and are not gated by the skill itself.
Before routing a task to an `-ops` skill, check whether the current GitHub
user is an org member (for example, `gh api
orgs/linuxfoundation/members/$(gh api user -q .login)` — a `204` means
member). If membership cannot be confirmed, decline the provisioning
request and say so; do not substitute the corresponding design skill as a
stand-in, since design skills explicitly exclude provisioning work.
## Workflow skills (this plugin)
Ten workflow skills ship alongside the architecture skills in this same
`lfx-skills` plugin. Forward to them by name when relevant.
| Topic | Skill |
|--------------------------------------|--------------------------------------------|
| Onboarding and first-time setup | `/lfx-skills:lfx-setup` |
| DCO and GPG signing | `/lfx-skills:lfx-git-setup` |
| Cross-repo personal PR dashboard | `/lfx-skills:lfx-pr-catchup` |
| Single-PR feedback and monitoring | `/lfx-skills:lfx-pr-resolve` |
| Local multi-branch journey worktrees | `/lfx-skills:lfx-test-journey` |
| Snowflake access requests | `/lfx-skills:lfx-snowflake-access` |
| CDP Snowflake connector scaffolding | `/lfx-skills:lfx-cdp-snowflake-connectors` |
| Security review before merging | `/lfx-skills:lfx-security-engineer` |
| MegaLinter and CI lint/scan failures | `/lfx-skills:lfx-megalinter` |
| Pre-PR review round, before a PR | `/lfx-skills:lfx-pre-pr-review` |
**Pre-PR review has two routes, decided by the repo, not by this table.** A
repo whose root `CLAUDE.md` carries a `## Pre-PR review` section runs
`/lfx-skills:lfx-pre-pr-review`; a repo that still carries
`## Review lifecycle configuration` runs `/lfx-skills:lfx-local-review` (its
Mode 2) and must not be sent to the new skill, which stops on the missing
section. A `CLAUDE.md` carrying **both** headings is a broken migration, not
a choice: report it and route to neither. The table row above is the former
case.
**PR review threads are routed by the repo, not by this table.**
First the same guard as above: a root `CLAUDE.md` carrying both
`## Review lifecycle configuration` and `## Pre-PR review` is a broken
migration — report it and route to neither (`lfx-local-review` validates only
its own declaration and will not notice the second heading). Then: a repo
whose root `CLAUDE.md` carries exactly one
`## Review lifecycle configuration` section and no `## Pre-PR review` section has adopted
`/lfx-skills:lfx-local-review` as the sole owner of its review lifecycle;
forward its PR-thread work there, not to `lfx-pr-resolve` — that skill
validates the declaration and fails closed itself, so a malformed section is
its problem to report, not a reason to route elsewhere. A repo with no such
section is not an adopter, and `/lfx-skills:lfx-pr-resolve` above is correct
for it — unless its `## Pre-PR review` section names a `PR driver:`; forward
PR-thread work to that repo skill instead (the third destination, for repos
that own their own PR iteration). More than one
`## Review lifecycle configuration` section is a broken adoption, not an absent
one: report the problem rather than routing to either skill.
## Cross-repo path convention
Cross-repo references use **repo-qualified paths**, not relative filesystem
paths:
```
lfx-v2-indexer-service/docs/indexer-contract.md
```
That's the file inside `lfx-v2-indexer-service`, regardless of disk layout.
Resolve by reading at `$LFX_DEV_ROOT/<repo>/<path>` or `Glob`/`find` if
unsure. Never assume `../../<repo>/`.
## Hard rules
- Don't teach implementation recipes (Angular, Goa, Helm, ArgoCD,
query-service, FGA, etc.) using this skill. Point to the owning repo or
a sibling skill instead.
- Don't provide repo-specific setup, preflight, test, build, or deploy
commands without reading that repo's current instructions this turn.
- Don't assert live deployment state, service health, or production behavior
from this skill alone.
- `lfx-self-serve` is the canonical Self Serve repo; legacy deployment
artifacts may say `lfx-v2-ui`, which is deployment naming only.
- **Never generate real user PII (real emails, names, usernames, phone
numbers, LFIDs, GitHub/Discord handles, addresses, etc.) in test data,
fixtures, examples, logs, commits, PRs, or tickets. Never persist PII
outside a field the resource contract requires. When in doubt, stop and
ask the user.** *Exceptions to the commit/PR/ticket/comment
prohibition (hard rule 4 in `references/data-privacy.md`) are limited
to two, each scoped tightly:* **every contributor's own DCO
`Signed-off-by:` trailer** required by DCO (see `lfx-git-setup`) —
the commit author's signoff is always required, and each coauthor
who participated as a contributor MUST add their own
`Signed-off-by:` line alongside their `Co-authored-by:` trailer; and
author attribution — the commit's own git-author identity
(name + email), plus `Co-authored-by:` trailers only for individuals
who actually co-authored the change and consented to real-identity
attribution (`Co-authored-by:` is not a DCO trailer and is not
produced by `--signoff`). Neither exception permits a non-contributor's
PII (an affected end user, support contact, member org's staff, etc.)
in commit messages, PR bodies, tickets, or code comments. *A separate
narrow exception applies to hard rule 2 (the no-PII-in-logs default): a
dedicated audit-log code path may emit raw PII only when **every**
condition in the canonical "Logging exception (narrow)" section of
`references/data-privacy.md` is satisfied — do not memorize a fixed
gate count here; consult the canonical section, since gates may be
added or refined over time. Authentication material is unconditionally
excluded from that exception.* Full rules and safe alternatives:
[`references/data-privacy.md`](references/data-privacy.md).
Files in this package (9)
- SKILL.md 17 KB
- references/contract-ownership.md 11 KB
- references/data-privacy.md 16 KB
- references/deployment-routing.md 10 KB
- references/glossary.md 3 KB
- references/repo-map.md 36 KB
- references/routing-playbook.md 19 KB
- references/service-types.md 1 KB
- references/topology.md 2 KB
Versions
The database has no other skills named lfx.
Database snapshot: 13.11.2026 · package version bf4059102118 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100copilot-code-reviewer
Senior review method for lfx-skills pull requests. Use whenever the task is to review a pull request on this repo, whatever it changes. - 100lfx-platform-architecture
Central explainer for how the LFX V2 platform components compose: Self Serve, Goa services, NATS, JetStream KV, fga-sync, OpenFGA, indexer-service, OpenSearch, query-service, access-check, Heimdall, Gateway API, Auth0, Helm, and ArgoCD. Use when tracing platform write, read,… - 100cross-repo-refactor
Coordinate a multi-repo refactor by fanning out subagents per repo onto one feature branch. Use for cross-repo changes that touch multiple repositories. - 100langflow-pilot
Use when an AI agent must create, inspect, edit, validate, run, debug, duplicate, rename, export, or safely delete flows on a running Langflow instance through the official LFX MCP server; when configuring the lfx-mcp stdio server; or when component types, ports, fields,… - 100osc
Give it a GitHub repo URL and it builds a Problem Board of every workable problem (issues, failing tests, lint errors, broken docs, fuzz bugs, abandoned PRs) with root cause, fix, test plan and size; then 'solve N' takes an item to a verified PR, paused for confirmation. Tuned… - 90graphify
Answer cross-repo structural questions about this workspace by querying the dependency graph instead of grepping - who consumes a DTO, who publishes or handles a routing key, what breaks if a contract changes, what a repo pins, which service handles a job variant, what a class…