why
БесплатноБез исполняемых скриптовНе проверенUse for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available evidence…
от neohaskell★ 349 звёзд на GitHubОб этом скилле
Why
Investigate the motivation and intent behind code. The companion how skill answers what the code does and how it works. why answers what forces led to its shape.
Follow the delegation instructions in AGENTS.md. Use the current environment's configured investigation and synthesis roles and its available delegation interface. Inherit supported runtime defaults when no role override is configured; report unsupported overrides rather than inventing fallback identifiers. Select only reasoning and speed settings supported by the environment. Centralized role configuration is managed separately.
Investigators and the synthesizer must not edit files or modify external state. Use read-only enforcement compatible with the required evidence access when available; otherwise state the no-write constraint in their tasks. Do not assume a particular runtime mode controls access to connected evidence sources.
Operating Posture
Operate as a careful, cautious, and precise investigator. Be honest about what you know vs what you're inferring. Read references/epistemics.md for the full confidence framework and phrasing guide. The synthesizer must follow it.
Step 1. Understand the Target and the Question
The target is usually a chunk of code, a pattern, a feature, or a named design decision. The question is usually a design rationale, a tradeoff, a motivating edge case, an external constraint, dead code, or a broad history sweep.
If the target is vague ("why do we do it this way?" with no clear referent), make your best guess from conversation context (open files, recent edits, cursor location, what was just discussed). State your interpretation briefly so the user can redirect if you're off, then proceed.
Step 2. Establish the Code Anchor
For this repository, investigate the internal NeoHaskell framework, language, and toolchain. Before spawning investigators, build the seed context inline: file paths and line ranges in the maintained implementation, key Haskell symbols (types, functions, service records and their operations, typeclasses or instances where relevant), the last few commits touching the target, PR numbers from merge commits (pattern (#1234) in the subject line), and any linked ticket IDs. Run git blame -L <start>,<end> <file> for last-touch commits, git log --follow -p -- <file> for full history with patches through renames, git log --oneline -20 -- <file> for recent commits with PR numbers visible, and git log -1 --format=%B <commit> to extract PR numbers. When the hosting interface is available and authenticated, pull the PR bodies and discussion for any substantive commit: gh pr view <number> --json title,body,author,createdAt,mergedAt,labels,closingIssuesReferences,comments,reviews. Confirm the repository and hosting provider from the available checkout and configuration; record unavailable history or PR access as a gap. Follow generated declarations back to their generator or source types only when relevant to the question. This anchor goes to every investigator and to the synthesizer.
Step 3. Spawn Parallel Investigators
Default to the full parallel investigation. The goal is a complete coverage map, not a minimal one. Document the null, don't skip the search.
Discovery
Before spawning investigators, identify the evidence sources accessible through the current environment: local files and version control, configured connectors, and available read interfaces such as CLIs or APIs. Use the environment's tool discovery facilities and repository instructions. A category can be searchable without an MCP.
Map each available source to one evidence category:
- Source control history
- Issue / ticket tracker
- Long-form documents
- Real-time team chat
- Infrastructure observability
- Error / exception tracking
- Product analytics warehouse
Verify local git history and hosting access separately; gh availability and authentication are environment-dependent. Classify other sources using their purpose, repository instructions, tool descriptions, and resource descriptors. If a source could fit more than one category, assign its primary evidence category and record ambiguous cases in the coverage map. Discover the project's task tracker and design documents from its instructions, linked sources, and available evidence interfaces. Search the relevant sources in their respective categories.
Spawn one investigator per category with an accessible evidence source, using the configured investigation role. Launch them concurrently within the available delegation capacity. Each investigator owns one evidence category and may use the relevant read interfaces within that category; list the actual sources searched and any gaps individually. Keep cross-category leads separate for the corresponding investigator.
Each investigator's prompt is references/investigator-prompt.md filled in, plus:
- the applicable category playbooks `references/sources/<sou
Установить why в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл why?
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available evidence sources and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
Как установить скилл why?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл why запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic