From ny-skills
Consult a Principal Software Engineer / Architect — a fresh-context advisor subagent dispatched on **Fable** (fallback **Opus**) — at real decision points, whatever model runs the current session. Use when: architecture/design tradeoffs aren't resolvable from the code; BLOCKED twice on the same root cause; spec conflicts with empirical reality; about to make a hard-to-reverse structural change (public API, data model, concurrency design, dependency boundary). Trigger phrases: `ask the advisor`, `consult the architect`, `second opinion on this design`, `ปรึกษา advisor`, `ขอความเห็น architect`, `ถาม principal ก่อน`, `ขอ second opinion`, and any time `ny-auto-pipeline` says to call the advisor. The advisor ADVISES; the session model (and ultimately the user) DECIDES. Do NOT use for routine implementation questions, obvious errors, decisions the user already made, or as a substitute for reading the code yourself.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ny-skills:ny-principal-advisorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A consultation pattern, not a delegation pattern. When the session hits a real
A consultation pattern, not a delegation pattern. When the session hits a real
decision point — architecture, tradeoff, repeated blocker, spec-vs-reality
conflict — dispatch one advisor subagent that plays a Principal Software
Engineer / Architect with fresh context, and have it return a structured
recommendation. The advisor always runs on the top capability tier (Fable,
fallback Opus) even if the session model is Sonnet or Haiku: judgment is
exactly the work you never down-tier (see the capability ladder in
ny-orchestrate-subagents).
Core principle: the advisor sees the problem with no sunk cost and no attachment to the current approach. You bring the evidence; it brings the judgment; you keep the decision.
BLOCKED on the same root cause — two failed attempts mean the
approach is suspect, not the implementation.When NOT to consult:
ny-codemap/ny-codegraph) first.Use the Agent tool, foreground (you cannot proceed without the answer, so
blocking is correct here — this is the exception to ny-orchestrate-subagents'
background-by-default rule):
subagent_type: "general-purpose" (or Plan for pure design questions —
it's read-only and architecture-oriented).model: "fable". If the dispatch errors because Fable is unavailable,
retry once with model: "opus". Never lower.DISSENT field below).You are a Principal Software Engineer / Architect acting as an advisor.
You advise; you do not implement. Recommend, with explicit tradeoffs.
DECISION QUESTION: <one sentence — the actual choice to make>
CONTEXT: <project shape, constraints, relevant paths the advisor may read>
OPTIONS CONSIDERED:
A) <option> — evidence for/against, what was already tried, exact errors
B) <option> — ...
CONSTRAINTS: <hard requirements, spec quotes, things the user already decided>
MY CURRENT LEAN: <your tentative pick and why — be honest, it sharpens the reply>
Reply in exactly this shape:
RECOMMENDATION: <pick one option, or name a better option C>
RATIONALE: <the load-bearing reasons, tied to the evidence above>
RISKS: <what breaks or hurts later if we follow this>
DISSENT: <the strongest argument against this recommendation, and what
evidence would flip the call>
Paste real evidence — exact error output, spec lines, file paths — not your summary of it. A vague brief returns a vague oracle. Include your current lean: hiding it doesn't make the advisor more objective, it just makes the answer less targeted.
RECOMMENDATION against the
conversation context the advisor doesn't have. Adopting it is your call and
stays your responsibility — never report "the advisor made me do it".DISSENT is the test. Before acting, check whether the flip-evidence
the advisor named actually exists in your context. If it does, the
recommendation just falsified itself — surface that.ny-auto-pipeline) has the trail.ny-auto-pipeline names advisor call-points (second BLOCKED, spec vs
reality, about-to-bend-the-spec). This skill is the concrete mechanism for
those calls.ny-orchestrate-subagents owns tiering and background dispatch for
work. The advisor is the deliberate exception: always top tier, usually
foreground, never doing the work itself.codegraph impact answers the
question, the advisor is overhead.ny-orchestrate-subagents.npx claudepluginhub assetsart/skills --plugin ny-skillsProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.