agentleFS
Sorcha-PlatformSorcha-Platform/Sorcha/.claude/skills/sorcha-ui/SKILL.md

sorcha-ui

Skill2 starsChanged 10 months agoMITView on GitHub

Builds Sorcha.UI Blazor WASM pages with accompanying Playwright E2E tests using the Docker test infrastructure. Use when: Working on Sorcha.UI, building new pages, replacing template pages, adding UI features, or testing UI functionality against Docker.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Test-driven UI development for Sorcha.UI.

    line 11
  2. Very specific:

    Only end users → Services/User/<Subject>/ or Models/User/<Subject>/

    line 270
  3. Very specific:

    Only admin/designer → Services/Admin/<Subject>/ or Models/Admin/<Subject>/

    line 271
  4. Distinctive:

    Use one of three replacement surfaces:

    line 351
  5. Very specific:

    Always mutation-check a new guard here: revert the fix, confirm the test goes RED, restore.

    line 459

≈ “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

Sorcha UI Development Skill

Test-driven UI development for Sorcha.UI. Every page change is paired with Playwright E2E tests that run against the Docker environment (docker-compose up -d). Tests automatically validate console errors, network failures, MudBlazor CSS health, and take screenshots on failure.

Prerequisites

Docker must be running with all services:

docker-compose up -d
# UI at http://localhost:5400 | API Gateway at http://localhost:80
# Login: admin@sorcha.local / Dev_Pass_2025!

Workflow: Building a Page

For every page you build or modify, follow these steps in order:

Step 1: Create the Page Object

Create tests/Sorcha.UI.E2E.Tests/PageObjects/{PageName}Page.cs:

using Microsoft.Playwright;
using Sorcha.UI.E2E.Tests.Infrastructure;
using Sorcha.UI.E2E.Tests.PageObjects.Shared;

namespace Sorcha.UI.E2E.Tests.PageObjects;

public class WalletListPage
{
    private readonly IPage _page;
    public WalletListPage(IPage page) => _page = page;

    // Use data-testid as primary selector strategy
    public ILocator WalletCards => MudBlazorHelpers.TestIdPrefix(_page, "wallet-card-");
    public ILocator CreateButton => MudBlazorHelpers.TestId(_page, "create-wallet-btn");
    public ILocator EmptyState => MudBlazorHelpers.TestId(_page, "wallet-empty-state");
    public ILocator SearchInput => _page.Locator("input[placeholder*='Search']");

    // Fallback to MudBlazor class selectors
    public ILocator Table => MudBlazorHelpers.Table(_page);
    public ILocator LoadingSpinner => MudBlazorHelpers.CircularProgress(_page);

    public async Task NavigateAsync()
    {
        await _page.GotoAsync($"{TestConstants.UiWebUrl}{TestConstants.AuthenticatedRoutes.Wallets}");
        await _page.WaitForLoadStateAsync(LoadState.NetworkIdle);
        await MudBlazorHelpers.WaitForBlazorAsync(_page);
    }

    public async Task<int> GetWalletCountAsync() => await WalletCards.CountAsync();
    public async Task<bool> IsEmptyStateVisibleAsync() =>
        await EmptyState.CountAsync() > 0 && await EmptyState.IsVisibleAsync();
}

Step 2: Write the Playwright Tests (Test-First)

Create tests/Sorcha.UI.E2E.Tests/Docker/{Feature}Tests.cs:

using Sorcha.UI.E2E.Tests.Infrastructure;
using Sorcha.UI.E2E.Tests.PageObjects;

namespace Sorcha.UI.E2E.Tests.Docker;

[Parallelizable(ParallelScope.Self)]
[TestFixture]
[Category("Docker")]
[Category("Wallets")]
[Category("Authenticated")]
public class WalletListTests : AuthenticatedDockerTestBase
{
    private WalletListPage _walletList = null!;

    [SetUp]
    public override async Task BaseSetUp()
    {
        await base.BaseSetUp();
        _walletList = new WalletListPage(Page);
    }

    [Test]
    [Retry(2)]
    public async Task WalletList_LoadsWithoutErrors()
    {
        await NavigateAuthenticatedAsync(TestConstants.AuthenticatedRoutes.Wallets);
        // Base class automatically checks console errors, network 5xx, CSS health
    }

    [Test]
    public async Task WalletList_ShowsEmptyStateOrWallets()
    {
        await _walletList.NavigateAsync();
        var count = await _walletList.GetWalletCountAsync();
        if (count == 0)
        {
            Assert.That(await _walletList.IsEmptyStateVisibleAsync(), Is.True,
                "Empty system should show empty state message");
        }
        else
        {
            Assert.That(count, Is.GreaterThan(0));
        }
    }
}

Step 3: Build the Blazor Page

Edit src/Apps/Sorcha.UI/Sorcha.UI.Web.Client/Pages/{Page}.razor:

@page "/wallets"
@layout MainLayout
@rendermode @(new InteractiveWebAssemblyRenderMode(prerender: false))
@attribute [Authorize]
@inject HttpClient Http

<PageTitle>Wallets - Sorcha</PageTitle>

@if (_isLoading)
{
    <MudProgressCircular Indeterminate="true" data-testid="wallet-loading" />
}
else if (_wallets.Count == 0)
{
    <MudAlert Severity="Severity.Info" data-testid="wallet-empty-state">
        No wallets found. Create your first wallet to get started.
    </MudAlert>
}
else
{
    @foreach (var wallet in _wallets)
    {
        <MudCard data-testid="wallet-card-@wallet.Id" Class="mb-3">
            <MudCardContent>
                <MudText Typo="Typo.h6">@wallet.Name</MudText>
            </MudCardContent>
        </MudCard>
    }
}

<MudButton data-testid="create-wallet-btn" Variant="Variant.Filled"
           Color="Color.Primary" Href="wallets/create">
    Create Wallet
</MudButton>

Step 4: Run Tests

# Run tests for the feature you just built
dotnet test tests/Sorcha.UI.E2E.Tests --filter "Category=Wallets"

# Run all smoke tests (fast CI gate)
dotnet test tests/Sorcha.UI.E2E.Tests --filter "Category=Smoke"

# Run all Docker tests
dotnet test tests/Sorcha.UI.E2E.Tests --filter "Category=Docker"

--filter gotcha (issue #818): these filtered runs only work because Sorcha.UI.E2E.Tests.csproj sets UseMicrosoftTestingPlatformRunner=false. The shared tests/Directory.Build.props forces Microsoft.Testing.Platform on every test project (correct for the xunit.v3 suite), but this project is NUnit/VSTest with no MTP runner — under forced MTP a --filter run silently matched nothing and exited 0, so a broken test could "pass" without executing. If you ever see a filtered E2E run report success while running 0 tests, that opt-out has been lost. Confirm discovery with dotnet test tests/Sorcha.UI.E2E.Tests --list-tests.

Step 5: Check Artifacts on Failure

Screenshots are saved to tests/Sorcha.UI.E2E.Tests/bin/Debug/net10.0/screenshots/ on any test failure. Console errors and network failures are reported in the test output.

Key Concepts

ConceptUsageLocation
DockerTestBaseUnauthenticated tests with auto error captureInfrastructure/DockerTestBase.cs
AuthenticatedDockerTestBaseLogin once, reuse auth state across testsInfrastructure/AuthenticatedDockerTestBase.cs
TestConstantsURLs, credentials, routes, timeoutsInfrastructure/TestConstants.cs
Page ObjectsEncapsulate selectors and actions per pagePageObjects/*.cs
MudBlazorHelpersShared MudBlazor locators and layout validationPageObjects/Shared/MudBlazorHelpers.cs
data-testidPrimary selector strategy for resilient testsAdded to Razor components
CategoriesFilter tests by feature or concern[Category("Wallets")] on test classes

Test Inheritance

PageTest (Playwright NUnit)
  └── DockerTestBase (console errors, network failures, screenshots)
        ├── ComponentHealthTests, LoginTests (unauthenticated)
        └── AuthenticatedDockerTestBase (login once, reuse state, layout health)
              ├── DashboardTests
              ├── NavigationTests
              ├── WalletTests
              └── ... (one per feature area)

Test Categories

CategoryScopeUse
SmokeAll pages load, no JS errorsCI gate
DockerAll tests targeting DockerFull Docker suite
AuthLogin, logout, redirectsAuthentication features
AuthenticatedAll tests needing loginPost-login features
DashboardDashboard pageDashboard development
NavigationDrawer, app bar, routingLayout changes
ComponentsCSS, MudBlazor, responsiveStyle/component changes
WalletsWallet pagesWallet features
BlueprintsBlueprint pagesBlueprint features
RegistersRegister pagesRegister features
SchemasSchema librarySchema features
AdminAdministration pagesAdmin features

File Locations

WhatWhere
Blazor pagessrc/Apps/Sorcha.UI/Sorcha.UI.Web.Client/Pages/
Shared componentssrc/Apps/Sorcha.UI/Sorcha.UI.Core/
Layoutsrc/Apps/Sorcha.UI/Sorcha.UI.Web.Client/Components/Layout/
Test infrastructuretests/Sorcha.UI.E2E.Tests/Infrastructure/
Page objectstests/Sorcha.UI.E2E.Tests/PageObjects/
Docker teststests/Sorcha.UI.E2E.Tests/Docker/
MudBlazor helperstests/Sorcha.UI.E2E.Tests/PageObjects/Shared/MudBlazorHelpers.cs

Host mounts & route prefixes

Two Blazor hosts, two mount prefixes behind the API Gateway. There is no /admin route — the entire platform/admin/designer experience IS the /app SPA.

MountHostAudienceTier (spec 136)
/app/…Sorcha.UI.Web + Sorcha.UI.Web.Client (WASM SPA)platform admin / org operator / designer and some citizen web surfaces (F125/F126, e.g. /app/strathcarron/…)Platform
/wallet/…Sorcha.Wallet.Pwa (PWA)citizen / wallet holderConsumer

Practical consequences:

  • A new Razor page @page "/foo" in Sorcha.UI.Web.Client is reachable at …/app/foo (NOT …/foo); a PWA page is at …/wallet/foo. On n1 that's https://n1.sorcha.dev/app/… and …/wallet/….
  • Tier classification (F136): RequestedTierResolver.ClassifyReturnTo maps /wallet→Consumer, /app→Platform. Web login fails safe to Platform (ClassifyReturnTo(returnTo, allowlist) ?? Tier.Platform) because /app is the platform host; the consumer token comes from a /wallet returnTo or the enrol-redeem path. See the jwt skill → "Tiered audiences".

Citizen Wallet PWA — path-prefix gotchas

The Citizen Wallet PWA (Sorcha.Wallet.Pwa) mounts at /wallet/ behind the API Gateway via PathRemovePrefix. Two rules apply only here, not to the main Sorcha.UI.Web app:

  1. All NavigateTo / Href paths must be base-relative, not origin-absolute. NavigateTo("enrol") ✓ — NavigateTo("/enrol") 404s in production. Home is NavigateTo(""), not NavigateTo("/"). Full rationale in the blazor skill → "PWA navigation when mounted under a path prefix". Twelve broken nav buttons shipped through CI as PR #698; the fix scope was global across MainLayout.razor, Index.razor, Enrol.razor, CredentialDetail.razor.
  2. nginx.conf cache rules must exclude dotnet.js and blazor.webassembly.js from the immutable regex. Those two files are NOT fingerprinted but DO change every build — caching them as immutable for a year breaks return-visits after every redeploy. Pattern in the blazor skill → "nginx caching for Blazor WASM" plus PR #699. Regression guard: tests/Sorcha.UI.E2E.Tests/Docker/CitizenWallet/CitizenWalletNginxCacheHeadersTests.cs.

PWA test coverage discipline (every nav element gets data-testid + click+URL test) is in the playwright skill. Issue #700 tracks the broader PWA test-coverage gap.

See Also

  • patterns - Page implementation and test patterns
  • workflows - Development workflow and checklist

Audience-tag convention (Feature 123)

Sorcha.UI.Core is partitioned by audience at the folder level — Services/User/, Services/Admin/, Services/Shared/, with the same three folders under Models/. When you add a new service interface or model type, the audience determines the folder.

Pick the audience by asking: "does an end user on a user-facing page need this?"

  • Only end users → Services/User/<Subject>/ or Models/User/<Subject>/
  • Only admin/designer → Services/Admin/<Subject>/ or Models/Admin/<Subject>/
  • Both → Services/Shared/<Subject>/ with a narrow I<Subject>ReadService interface (the Shared read interface does NOT inherit from the Admin interface — admin pages that need both inject both)

Namespaces stay at the subject level — a file in Models/User/Forms/ declares namespace Sorcha.UI.Core.Models.Forms;, not …Models.User.Forms;. The audience folder is filesystem metadata, not part of the type's address. This is what keeps consumer using directives stable across moves.

Bi-modal smell detector — stop and refactor before any of these solidify:

  • An interface directly under Services/ (not in an audience folder).
  • A plain IFooService whose methods mix "list things for the signed-in user" with "manage admin policy" — split it into two interfaces, same concrete class.
  • A DTO record defined inside a service-interface file (extract to Services/Shared/<Subject>/<Dto>.cs, keep the original namespace).
  • A user-facing component injecting *AdminService.
  • An admin page injecting a Shared read interface and transitively pulling admin-only types from its return values — the "Shared" interface isn't actually shared.

Full convention + worked examples: src/Apps/Sorcha.UI/Sorcha.UI.Core/README.md. Motivating discovery (what bi-modal coupling did to Feature 122 Phase 2): specs/122-shared-user-components/phase-2-discovery.md.

Shared user-facing component library (Feature 122)

User-facing components shared between Sorcha.UI (web) and Sorcha.Wallet.Pwa (PWA) live in src/Apps/Sorcha.UI/Sorcha.UI.Components.User. Admin / designer / explorer components remain in Sorcha.UI.Core. The PWA references Sorcha.UI.Components.User directly; Sorcha.UI.Core ProjectReferences it (transparent re-export to the six web host apps).

Placement rule when adding a new component:

  • User-facing, possibly shared with PWA → Sorcha.UI.Components.User/Components/<Subject>/
  • Admin / designer / explorer only → Sorcha.UI.Core/Components/<Subject>/
  • User-facing models the PWA also needs → Sorcha.UI.Components.User/Models/User/<Subject>/ (folder is metadata; namespace stays Sorcha.UI.Core.Models.<Subject> per the audience-tag convention above)

Full placement matrix + worked examples: src/Apps/Sorcha.UI/Sorcha.UI.Components.User/README.md. CI bundle-hygiene gate: scripts/check-pwa-bundle.ps1 (wired into nuget-ci.yml) asserts forbidden assemblies absent + Sorcha.UI.Components.User present in the PWA bundle on every push.

Council application enrolment gate (Feature 126)

Drop-in component EnrolGateComponent in Sorcha.UI.Components.User/Components/EnrolGate/ (namespace Sorcha.UI.Core.Components.EnrolGate). Any council page that needs to onboard a citizen as a side-effect of an application form wraps the form in it:

<EnrolGateComponent CouncilName="Strathcarron Council"
                    ServiceLabel="driving licence application"
                    OnReady="@HandleCitizenReadyAsync">
    <DrivingLicenceForm />
</EnrolGateComponent>

The component owns:

  • Tier detection (parallel /whoami + /me/devices probes, 200 ms timeout each).
  • Surface branching — PreflightSignupSurface (Tier 3 / ColdStart) → WalletPairingSurface with TierMode.MiniGate (Tier 2) or TierMode.PostSignup (Tier 3 post-signup) → ChildContent (Tier 1 / FastPath).
  • Session-token mint + lifecycle: calls POST /api/auth/enrol-session, renders the returned QR via HybridQrAffordance, watches expiry via a Task.Delay(ExpiresAt - now) and flips to a regenerate affordance when the token times out without a pairing signal.
  • Cross-device coordination: subscribes to IEnrolPairingSignal.OnDeviceEnrolled (TenantHubConnection.OnDeviceEnrolled + 3-second /me/devices poll fallback) and fires OnReady once the citizen reaches FastPath.

HybridQrAffordance.Layout (enum: Auto / QrFirst / LinkFirst) controls prominence. Auto (default) emits an enrol-hybrid-qr--auto CSS class so a @media (max-width: 600px) rule can swap ordering on mobile — no IJSRuntime probe needed.

PWA-side wire-up lives in Sorcha.Wallet.Pwa:

  • Pages/Enrol.razor reads ?session=<token> from the URL, calls IEnrolSessionRedeemer.RedeemAsync, renders EnrolmentRedeemConfirmDialog with the bound user's email + display name (the friend-scans-by-mistake mitigation), then on Confirm stores the access token via IAccessTokenStore and falls through to the existing F114 device-pairing stepper.
  • Cancel from the dialog routes to Pages/CancelledEnrolment.razor — no device registered.

Test patterns (UI.Core.Tests):

  • BunitContext + JSInterop.Mode = JSRuntimeMode.Loose for any EnrolGate component that calls JS (clipboard, QR SVG render).
  • Stub HttpClient via a custom HttpMessageHandler for the gate's whoami / mint round-trips — EnrolGateComponent.ResolveBoundPlatformUserIdAsync will hang the test if the gateway URL doesn't resolve.

Related Skills

  • See the blazor skill for Blazor WASM component architecture
  • See the playwright skill for Playwright API reference
  • See the frontend-design skill for MudBlazor styling
  • See the minimal-apis skill for backend API endpoints the pages call
  • See the jwt skill for authentication token handling

Documentation Resources

Fetch latest Playwright .NET and MudBlazor documentation with Context7.

Library IDs:

  • /websites/playwright_dev_dotnet (Playwright .NET)
  • /websites/mudblazor (MudBlazor component library)

Recommended Queries:

  • "Locators selectors data-testid"
  • "NUnit test fixtures parallel"
  • "MudBlazor card table dialog"
  • "MudBlazor form validation"
  • "Browser storage state authentication"

Anti-Pattern: Don't Use ISnackbar

The Sorcha UI has retired MudBlazor's Snackbar.Add(...) toast surface from every user-facing page and PWA component (PRs #740-#755). New code MUST NOT inject ISnackbar — a CI gate at scripts/check-no-snackbar.ps1 enforces the ratchet via .snackbar-allowlist.

Use one of three replacement surfaces:

  • IInlineFeedback for actor's-own-action feedback in the current page (success / error / info / warning). API: Feedback.ShowSuccess(msg, detailHref?, autoDismissMs?) / ShowError / ShowInfo / ShowWarning. Default 4s auto-dismiss; pass autoDismissMs: 0 for errors that need explicit acknowledgement. Namespace Sorcha.UI.Core.Services.Feedback. Renders via InlineFeedbackHost mounted in MainLayout. Do NOT call from inside a dialog body — the host mounts in the layout, not in dialog surfaces.
  • Server-side inbox writer for workflow / lifecycle / security events that should live in the durable Feature 118 bell drawer across sessions. Existing writers: WalletWorkflowInboxWriter, WalletInboxWriter, CitizenDeviceInboxWriter, TenantSecurityInboxWriter, plus the membership writer. Always try / LogError / swallow — a writer failure must NOT roll back the underlying admin operation.
  • CopyButton primitive for clipboard affordances. <CopyButton Value="@x" Label="Copy" /> for labelled buttons, <CopyButton Value="@x" Variant="CopyButtonVariant.IconButton" Label="Copy hash" /> for icon-only inside lists. Morphs to "Copied ✓" for ~2s on success.

Dialog content rule: dialog success closes with MudDialog.Close(DialogResult.Ok(...)) so the parent renders inline feedback; dialog errors render an inline <MudAlert Severity="Severity.Error" Dense="true" Class="mb-2"> at the top of DialogContent.

Full architecture and migration history: specs/118-notifications-architecture/MIGRATION.md and Critical Pattern #12 in CLAUDE.md.

Rendering traps: where MudBlazor and Blazor silently disagree

Four bugs in one session, all shipped through review, all invisible to a green unit suite, all found only by opening a real browser. They share one shape — each side of a boundary is individually correct and nothing verifies the join — so treat this list as a pre-flight check, not trivia.

1. Splatting a Dictionary<string, object> can hit a typed component parameter

Blazor attribute splatting matches component parameters case-insensitively. So an entry meant as an HTML attribute can bind to a component parameter of a different type:

attrs["inputmode"] = "email";       // a string, because that is what an HTML attribute is
// splatted onto MudTextField → binds MudBlazor's InputMode parameter, typed MudBlazor.InputMode
// → cast throws at RENDER time → the render batch aborts → "An unhandled error has occurred."

Parse to the component's type before splatting:

if (Enum.TryParse<MudBlazor.InputMode>(InputMode, ignoreCase: true, out var typed))
    attrs["inputmode"] = typed;

Note the blast radius is hard to read from the code. Only the email hint set inputmode, so it looked like "email fields" and meant "every application form on the platform". The sibling keys (autocapitalize, autocorrect, spellcheck) have no matching MudBlazor parameter, passed through as plain HTML, and worked — which is exactly why the mechanism was never suspected.

Check: for any splatted dictionary, list the keys and ask whether the target component has a parameter of that name in ANY casing.

2. A Razor comment inside an attribute list becomes an attribute NAME

<MudTextField Value="@x"
              @* explaining the next line *@   ← NOT stripped here
              Label="Postcode" />

The browser throws InvalidCharacterError: Failed to execute 'setAttribute' and the render batch dies, taking neighbouring fields down with it — they render as bare labels with no input. Put the comment above the element. There is a CI gate for this (razor-comment-placement, added after it happened).

3. MudSelect's closed field ignores MudSelectItem child content

The collapsed input's text comes from the bound value through the converter; the child content is only rendered inside the open popover. Bind Value and display a different Label and the citizen opens the list, sees "United Kingdom", picks it, and the field collapses back to GB.

<MudSelect T="string" Value="@_value" ToStringFunc="@LabelFor"> ... </MudSelect>

MudRadio has no equivalent problem — it always renders its child content — so ChoiceRenderer needs nothing.

4. text-transform does not inherit into form controls

Putting Style="text-transform: uppercase;" on a MudTextField lands it on MudBlazor's wrapper div. That div computes uppercase — correctly, and visibly so in DevTools — while the <input> inside computes none, because the UA stylesheet sets text-transform: none on form controls. The fix looks right in the markup, right on the element it was written to, and does nothing on screen.

Target the input from CSS isolation instead. ::deep is required because the input is rendered by a child component, so the scope attribute is on your wrapper, not on it:

/* PostcodeLookupRenderer.razor.css */
.postcode-lookup ::deep input { text-transform: uppercase; }

Existing precedents for reaching MudBlazor internals this way: PresentationRequestCard.razor.css, IdCardLayout.razor.css, LinkExistingAccountPrompt.razor.css.

Testing these

Unit tests cannot see any of the four. Use bUnit render tests:

public sealed class FooTests : BunitContext
{
    public FooTests()
    {
        // MudSelect builds a popover and throws without a MudPopoverProvider in the tree — a layout
        // concern the real app meets in MainLayout and a control rendered alone does not.
        Services.AddMudServices(o => o.PopoverOptions.CheckForPopoverProvider = false);
        JSInterop.Mode = JSRuntimeMode.Loose;
    }
}

bUnit has no style engine, so trap 4 is not assertable — verify that half live. What IS assertable is the join CSS depends on: the stylesheet addresses markup by a class name and nothing relates the two, so assert the wrapper class renders and the input sits inside it. Renaming the wrapper otherwise breaks the styling with no build error, no warning and no failing test.

Always mutation-check a new guard here: revert the fix, confirm the test goes RED, restore. (When restoring from a backup file, mv carries the OLD mtime and MSBuild will skip the rebuild — the test stays red and looks like a failed fix. touch the file.)

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.