agentleFS
vmobifystudiovmobifystudio/app-dev-team/skills/house-conventions/SKILL.md

house-conventions

Skill4 starsChanged 4 months agoMITView on GitHub

Use before writing any code, spec, or store asset on a Mobify Studio app — loads the relevant House Knowledge Base pack(s) so output matches the studio's established conventions instead of generic defaults. Every IC invokes this first; execs invoke it when their document names a platform, version, library, or store surface.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    ${CLAUDE_PLUGIN_ROOT}/knowledge/<pack>.md: If CLAUDE_PLUGIN_ROOT is not set in your environment, glob for /knowledge/stack-defaults.md …

    line 20
  2. Very specific:

    Treat the pack as the floor.

    line 37
  3. Very specific:

    Tier: default to the Flagship rules in each pack.

    line 41
  4. Very specific:

    If the pack and the project docs conflict, the project docs win for that project, but write one line to your per-run fragment …

    line 52
  5. Very specific:

    If you discover a genuinely new, reusable convention while working, add a LEARNING: line to that same fragment so /app-learn can fold it …

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

House conventions

The plugin ships a House Knowledge Base under knowledge/ mined from our internal shipped apps. This skill is how an agent loads the right pack before working, so what it produces looks like the studio's other apps — same architecture, same monetization patterns, same store hygiene.

When to use

Invoke this before the first edit/spec on any ticket, sprint, or asset. It costs one read and prevents a whole class of "this doesn't match how we build" rework.

Procedure

  1. Identify what you're about to do and load the matching pack(s). The packs live at ${CLAUDE_PLUGIN_ROOT}/knowledge/<pack>.md. If CLAUDE_PLUGIN_ROOT is not set in your environment, glob for **/knowledge/stack-defaults.md inside the plugin install and read the packs from that directory. If you genuinely cannot locate the packs, STOP and report a blocker — do not silently proceed on generic defaults; that is exactly the failure this skill exists to prevent.

    You are about to…Read
    Pick stack / versions / librariesstack-defaults.md
    Write or review iOS codeios-conventions.md (+ stack-defaults.md)
    Write or review Android codeandroid-conventions.md (+ stack-defaults.md)
    Add ads, IAP, or a paywallmonetization.md
    Add analytics / events / KPIsanalytics.md
    Prepare store assets / submissionaso.md
    Set up git, CI, signing, releasesgit-workflow.md
    Write a vision, PRD, or backlogNo pack — the shape lives in prd-builder / requirements-intake, not here. Read stack-defaults.md only where the document names a platform, version or library; otherwise this skill has nothing for you and you are done in one line.
  2. Treat the pack as the floor. Follow it unless the project's own docs/ (architecture, engineering principles, CLAUDE.md) explicitly overrides a specific rule — a project may be stricter, never sloppier.

    Tier: default to the Flagship rules in each pack. If the project declares itself a utility app (in its docs/ or CLAUDE.md), apply the Utility branch where a pack defines one (e.g. ad-first monetization, leaner stack) — see knowledge/README.md §Tiers.

2a. Load only what the project has. Read docs/02-team-roster.md (tier, product type, platforms) before the pack. Do not produce a section for a platform, role or capability the project does not have — no Android stack section on an iOS-only app, no "consult tech-lead about capacity" with one active IC. Skip it explicitly, never silently: write N/A: <section> — <reason> per docs/02-team-roster.md. A silent skip and a forgotten section look identical to every reader afterwards.

  1. If the pack and the project docs conflict, the project docs win for that project, but write one line to your per-run fragment (docs/daily/<today>-<role>-<ticket>.md) noting the divergence so the tech-manager can decide whether the KB or the project is wrong.

    No ticket? A spec-writing exec has none, and that used to make this rule unfollowable for exactly the roles whose divergences are largest. Use docs/daily/<today>-<role>-spec.md — same directory, so the standup collects it with everything else.

  2. If you discover a genuinely new, reusable convention while working, add a LEARNING: line to that same fragment so /app-learn can fold it back into the KB after ship.
  3. If you just wrote to a file OUTSIDE a leased worktree — a spec, the SRS, the PRD, the backlog, an ADR/PDR/DDR, anything in the shared tree — commit it before you report done or hand off. ic-workflow's branch-and-commit discipline is written for IC roles working inside a worktree; it says nothing about the execs, tech-lead, cpo, and every other role that edits docs/ directly on the shared tree, and until this line existed nothing did. The failure is not hypothetical: a cpo wrote a new requirement into the SRS/PRD and created a board ticket, a tech-lead wrote the impl spec and handed off — neither committed — and the next command that cut a fresh worktree for the developer (git worktree add, which snapshots the last COMMIT, not the live working directory) produced a worktree missing both edits entirely. The developer correctly BLOCKED, reporting a ticket and impl spec that "did not exist," because from git's point of view they didn't yet. git add <the files you touched> && git commit -m "..." — explicit paths, same rule ic-workflow gives ICs, for the same reason: a blanket git add -A from a shared-tree role risks staging someone else's in-flight work.
  4. Read what your role names, not the whole tree. ic-workflow's input contract already scopes a developer to exactly three things — the ticket row, the PRD/impl-spec sections it points to, and its own subtree — for a reason: a role that re-reads the full PRD, every prior standup, and every sibling ticket "to be safe" burns budget on context it was never going to use and makes the next context-window compaction more likely mid-ticket. Read the pack this skill names, the doc your input contract names, and nothing wider unless a specific question sends you looking for it. This is not a license to skip house-conventions or defect-hunting's own required reads — it is the same discipline pointed at everything else: a role file that grew barnacles ("also skim the last five standups") over time is exactly the kind of accretion this rule exists to refuse.

Anti-patterns

  • Writing code first and checking conventions later — the rework is the cost you were avoiding.
  • Inventing a new architecture/pattern when a pack already specifies one.
  • Silently following the KB when the project doc says otherwise (or vice-versa) without flagging 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.