/factory-kit:factory-entry <issue-id> (e.g., NON-45 or 45)from factory-kit
Loads a Linear issue into context, fetches project and working state, runs prep checks, and enters plan mode for a focused coding session.
Ships in factory-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You're starting a focused work session on a single Linear issue. Load its context, summarize it, and enter plan mode so the user can sign off before you start coding.
Invocation input: the issue identifier. Accept either the full form (NON-45) or just the number (45). If numeric, prepend the team key from the project configuration.
Read project configuration. Prefer .factory-kit/linear.json; use legacy .claude/linear.json only as a migration fallback. If neither exists, stop and direct the user to the setup-linear workflow. Pull teamKey for ID resolution.
Resolve the identifier. If the invocation input is numeric, construct <teamKey>-<num> (e.g., 45 → NON-45). If already in KEY-NN form, use it as-is.
Fetch the issue through the connected Linear integration. Include comments and linked sub-issues if available.
Fetch the project through the Linear integration if the issue belongs to one and you haven't loaded it yet this session.
Read the working state that factory-log.md keeps: the attached working doc (its Now block first), and any comments on the doc or the issue posted since the last session. For each reply that answers a Needs you item, run factory-log resolve before planning. If the doc already has a ## Plan, revise it; don't rewrite it from scratch.
Prep first. Run factory-prep.md on the issue. It returns at once if neither the ticket nor the cited code changed, re-judges the verdict if either did, and does the full prep if there is none. Plan on top of its verdict: Split or Blocked means stop and surface it before planning; Needs decision means plan around the open items.
Check blockers. If the issue has open blockedBy relations, list them and warn loudly before proceeding. Ask whether the user wants to continue or pick a different ticket.
Summarize for context (≤ 250 words). Use this shape — bold labels, short lines, omit any section that's empty:
<KEY-N> — title + priority + current stateFlag issue quality (brief — one line if everything is fine). Linear's house style is: short title with a concrete outcome, body only as long as needed. If the issue is missing a clear outcome, written as a user story, or sitting orphaned with no context links, name it. Don't fix it silently — surface it so the user can decide whether to rewrite before designing the change.
Offer one learn slice (only if ~/.factory/learner/profile.md exists). Read the active track's current rung, find the one slice of this ticket that fits it (usually a test, a state table or an invariant), and offer it in one line: "Learn slice: you write <what> in <file> (Rung N). Take it?" If accepted, mark that slice in the plan as the operator's, to run through factory-learn.md when the build reaches it. If declined, drop it silently. Never offer more than one.
State model first (stateful or frontend changes only). Prep wrote the current → target model; refine it to the concrete props type and state union with factory-log state, so the operator can review the union before approving the plan.
Enter planning mode. Use the host's planning capability when available. Otherwise, present the implementation plan in chat and stop for explicit approval. Do not start coding before approval.
On approval, write the plan to Linear. Move the issue to states.inProgress if it isn't there yet, run factory-log plan and factory-log now, then set the agent-state label from the Now block per factory-log.md's Agent state rule: Needs decision if Needs you still has items, otherwise Working. Approving the plan doesn't answer outstanding questions. From then on, keep the Now block current; findings go to the doc as one line each, and operator-owned questions go under Needs you. Neither goes into terminal prose or comment threads.
Follow factory-voice.md. The reader is you, two minutes from now, about to design the change — give yourself what you'd need to make calls. Surface non-obvious constraints (invariants, prior decisions, blocking relations) at the top, not buried. No marketing copy, no hedging. If a constraint locks the design, name the principle behind it, not just the rule.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
47 skills in this plugin
/factory-animationMotion discipline distilled across builds. Attention as a fixed per-viewport budget, figure/ground separation (calm the ground, load motion into the figure), one focal point of motion per screen, diegetic-over-decorative test, trigger-on-intent-then-settle over perpetual loops, and the prefers-reduced-motion fallback. Recipe pairs Astro with a Remotion video kit (rendered assets in public/). Read whenever you add motion to a marketing surface or any page where movement competes with reading. Paired with factory-design, which owns the static visual vocabulary motion sits on top of./factory-apiAPI conventions for both server actions and tRPC builds. Covers the decision between them, per-mutation Zod input schemas, central router composition, pagination shape, multi-field search via Drizzle `ilike` + `or()`, mutation lifecycle hooks, conditional query enabling, stale-time defaults, error response shape and custom error class taxonomy, mutation-boundary audit logging, fetch adapter for tRPC routes. Read when designing or implementing any data-mutation endpoint./factory-api-route-engineerUse when designing or implementing API endpoints — server actions, tRPC procedures, REST routes for external consumers. Carries the factory's API conventions — the server actions vs tRPC decision, procedure tier stacking, per-mutation Zod schemas, central router composition with manual registration, pagination (limit/offset/orderBy default; cursor only when needed), multi-field search via `ilike` + `or()`, aggregated stats in list queries, mutation lifecycle hooks, stale-time defaults, custom error class taxonomy, fetch adapter for tRPC in App Router. Outputs endpoints that fit the house style — not bespoke per-route handlers./factory-authAuth and authorization conventions distilled across builds with three different auth stacks (Better Auth + orgs, Supabase Auth + RLS, Clerk). Covers the provider decision matrix, the unified wrapper interface (`requireAuth` / `requireRole` / `withOrgContext`), procedure tier stacking, session handling, OAuth callback safety, plugin composition with Better Auth, and the anti-patterns (hardcoded allowlists, admin client at module scope, triple-fallback auth surfaces)./factory-auth-wiring-specialistUse when wiring auth into a new project, switching auth providers, or adding role/org features. Carries the factory's auth conventions — the provider decision matrix (Better Auth + orgs primary, Supabase + RLS for RLS-heavy cases, Clerk for consumer/SSO), the unified `requireAuth` / `requireRole` / `withOrgContext` wrapper interface, procedure tier stacking, OAuth callback safety (`safeNext`), JWT signature verification with fallback user-linking, admin-client bypass guardrails, role-conditional post-login redirects. Produces auth code that fits the house seam — provider is a swap point, not a leak./factory-autopilotThe contract for an unattended build run started by `factory-kit autopilot run`. The agent edits and verifies in its assigned worktree; the runner owns the gate, commits, push, draft PR and Linear handoff. Read when a prompt says you are running under autopilot.npx claudepluginhub nonlinear-xyz/factory-kit --plugin factory-kitOther plugins' skills for the same job