Skip to content
Back to skills

Using Ytstack

ASecurity

Establishes how agents find and invoke ytstack skills. Requires Skill-tool invocation before any response when a ytstack skill applies. Auto-injected by the SessionStart hook. Not meant for direct user invocation.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentsgodebuggingcode-reviewgit

Works with

  • terminal

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add Yesterday-AI/ytstack --skill using-ytstack --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Using Ytstack?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Using Ytstack
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yesterday-ai-using-ytstack/badge)](https://www.skillsdirectory.com/skills/yesterday-ai-using-ytstack)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: using-ytstack
description: "Establishes how agents find and invoke ytstack skills. Requires Skill-tool invocation before any response when a ytstack skill applies. Auto-injected by the SessionStart hook. Not meant for direct user invocation."
metadata:
  tier: core
  version: 0.3.1
  kind: directive
user-invocable: false
---

# Using ytstack

<SUBAGENT-STOP>
If you were dispatched with a brief to execute a specific slice or task (subagent, teammate, a worker on another host), skip this skill -- your scope is the brief, and the work contract it carries (`ytstack:minimal-code`) applies.
</SUBAGENT-STOP>

<EXTREMELY-IMPORTANT>
This project uses ytstack. A hook has injected project state into your context and you have access to ytstack's skills via the `Skill` tool.

If you think there is even a 1% chance a ytstack skill applies to what the user asked, you ABSOLUTELY MUST invoke the skill via the `Skill` tool BEFORE any other action.

IF A YTSTACK SKILL APPLIES, YOU DO NOT HAVE A CHOICE. USE IT.

This is not negotiable. This is not optional. You cannot rationalize your way out of this.
</EXTREMELY-IMPORTANT>

## Instruction priority

User instructions always take precedence:

1. **User's explicit instructions** (`CLAUDE.md`, direct messages) -- highest priority. If the user says "skip ytstack for this change", honor it.
2. **ytstack skills** -- override default agent behavior when they apply.
3. **Default agent behavior** -- lowest priority.

**`.ytstack/` artifacts are user-owned.** Never delete, move, truncate or revert them on your own judgement -- not even obvious leftovers such as draft summary stubs or stale plans. The only sanctioned cleanup is `ytstack:reconcile`, which asks per class and archives instead of deleting.

## The rule

**Invoke the relevant ytstack skill BEFORE any response or action.** Each skill's frontmatter `description` field states when to use it. Match the user's intent against the descriptions semantically -- not against keyword lists or canonical phrasings. If any skill's description plausibly covers the situation, invoke it via the `Skill` tool to confirm. If the invoked skill turns out to be the wrong fit, that is fine; what is NOT fine is skipping the check.

Skills you might need (consult each skill's description, not this list, for the actual when-to-use):

- Project lifecycle: `init-project`, `adopt-brownfield`, `plan-milestone`, `slice-milestone`, `plan-task`, `summarize-task`, `reassess-roadmap`
- Session continuity: `handoff-session`, `resume-session`
- Planning reviews: `office-hours`, `plan-ceo-review`, `plan-eng-review`
- Execution discipline: `test-driven-development`, `systematic-debugging`, `verification-before-completion`, `quick-task` (one-sentence changes when PREFERENCES `quick_lane` is on)
- Review + release: `code-review` (after a task's commits, before summarize-task), `finish-branch` (merge / PR / keep once the slice is closed on paper), `ship` (release flow: tests, review, version, changelog, PR), `retro` (after a milestone closes), `document-release` (changelog + release notes for a version), `grill` (question an idea between office-hours and plan-milestone)
- Orchestration: `spawn-milestone-team`, `coordinate`, `finish-lane`, `handover-step`, `lane-retro`, `visual-review` (a lens reviewer of a UI change), `review-lessons` (after a merge: bot findings the own reviewers missed)
- Production: `signal-intake` (record what production reports), `incident` (production is broken now: mitigation before cause, before `systematic-debugging`), `lesson` (the end of every incident of any class: a check first, never a rule in AGENTS.md)

The selection mechanism is **semantic, not phrase-based**. New user phrasings (different language, paraphrase, domain-specific vocabulary) should still trigger the right skill as long as the intent is covered by a description.

## Skill priority (when multiple could apply)

1. **Process skills first** (office-hours, plan-ceo-review, systematic-debugging). They determine whether / how to proceed.
2. **Structural skills next** (plan-milestone, slice-milestone, plan-task). They determine what to build.
3. **Execution skills last** (TDD, verification). They determine how to build.

"Let's build X" (greenfield, no pitch yet) -> `office-hours` first. "Fix this bug" -> `systematic-debugging` first. Existing codebase (README, docs, commits) with no `.ytstack/` -> `adopt-brownfield` first, never the pitch. A change the user states in one sentence with a known cause ("rename X", "bump Y", "fix the off-by-one in Z") in a `.ytstack` project with `quick_lane: on` (PREFERENCES default) -> `quick-task`, not `plan-task`.

## Red flags -- stop and invoke

These thoughts mean STOP, you're rationalizing:

| Thought | Reality |
|---|---|
| "This is just a simple question" | Questions are tasks. Check for skills. |
| "I already know what they want" | Invoke the skill to be sure. |
| "Skills are overkill for this" | ytstack's skills handle simple cases fast. Use them. |
| "I'll just fix it directly" | Direct fixes bypass verification + scope checks. Use the skills. |
| "The plan is obvious" | Plans feel obvious until you write them down. Use `plan-task`. |
| "Let me read the files first" | Skills tell you which files to read. Check first. |
| "I'll figure it out as I go" | ytstack exists because "figure it out" loses context across sessions. |

## Process flow (what happens on every user message)

```dot
digraph using_ytstack {
    "User message received" [shape=doublecircle];
    "Match intent against skill descriptions" [shape=box];
    "Any skill plausibly applies?" [shape=diamond];
    "Invoke Skill tool" [shape=box];
    "Follow skill exactly" [shape=box];
    "Respond directly" [shape=doublecircle];

    "User message received" -> "Match intent against skill descriptions";
    "Match intent against skill descriptions" -> "Any skill plausibly applies?";
    "Any skill plausibly applies?" -> "Invoke Skill tool" [label="yes, even 1%"];
    "Any skill plausibly applies?" -> "Respond directly" [label="definitely not"];
    "Invoke Skill tool" -> "Follow skill exactly";
    "Follow skill exactly" -> "Respond directly";
}
```

## After invoking a skill

Follow its Checklist exactly. Create TodoWrite entries per item. Don't improvise steps. The skill's Terminal State section tells you what to do next -- respect it; don't auto-invoke the suggested follow-up skill unless the user explicitly asks for it, or the project's `PREFERENCES.md` says `autonomy: loop` (the default), in which case the execution skills inside a slice (plan-task -> test-driven-development -> verification-before-completion -> summarize-task) chain without asking and stop at the slice boundary.

## Feeding ytstack upstream

A ytstack skill, hook or script misbehaved, was missing or needed a workaround, or a retro or lesson found something about ytstack itself: that goes to https://github.com/Yesterday-AI/ytstack/issues per `upstream_feedback`. `ytstack-upstream mode` prints it (`suggest`: draft and ask; `file`: search, then file or comment; `off`) and the path of the rules; a non-interactive or teammate session gets `suggest` and never posts. Never work around a ytstack bug silently.

## Summary

ytstack is active. Each skill's `description` field is the source of truth for when to invoke it. Match semantically, invoke proactively, follow the skill's checklist exactly, never auto-chain.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.