Логотип Stack Detection

Stack Detection

Спільнота
nahid-sparktales
stack-detection

Establish what a frontend project actually uses — framework, router, package manager, styling, component layer, TypeScript posture — from package.json, lockfiles, config files and the source itself, before loading framework-specific guidance or writing a line of code. Fires at the start of any frontend task in an unfamiliar or half-remembered repo, and whenever you are about to assume a convention. Not for choosing a stack for a new project, and not a substitute for reading the code you are about to change.

Огляд

Видавецьnahid-sparktales
Репозиторійagent-dispatcher
Назва навичкиstack-detection
Зірки
58
Форки
5
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: nahid-sparktales. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Stack Detection у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/frontend/stack-detection
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/frontend/stack-detection .claude/skills/stack-detection
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Stack Detection в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Stack Detection, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Stack Detection не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Stack detection

Most wrong frontend edits are correct code for a stack the project does not use. Detection is cheap; guessing is not.

When this fires

Before the first edit in a frontend repo you have not already mapped in this session, and again whenever you catch yourself about to say "this project probably uses". It does not fire for a repo whose conventions you have already read this session.

Procedure

  1. Find the right package.json first. In a monorepo the root one describes the workspace, not the app. Locate the nearest package.json above the file you are changing, and note whether a root one also exists — dependencies can be hoisted, tooling config usually is.
  2. Read dependencies and scripts together. dependencies and devDependencies say what is installed; scripts say what is actually run. The dev, build and test commands are the ones to use later — do not invent npm run dev if the project spells it differently.
  3. Get real versions from the lockfile, not the range. ^15.0.0 in package.json is a constraint. The lockfile (package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lock*) holds the resolved version, and its filename is also the only reliable statement of which package manager to invoke. Two lockfiles present is a finding, not a choice.
  4. Read the config files that exist, and note the ones that do not. Build/framework config, TypeScript config, lint and format config, test config. Their presence tells you the tool is wired in; their contents tell you path aliases, strictness, and what is excluded.
  5. Confirm the routing and rendering model from the directory layout, not from the framework name. Which route directories exist, where the entry file is, whether routes are file-based or declared in code, and — for frameworks with a server/client split — which files carry the directives that mark the boundary.
  6. Identify the styling layer and its version. A config file's existence does not pin a major version; check the lockfile and how the stylesheet imports the framework. Also check for a CSS modules / styled-in-JS / vanilla CSS layer coexisting with it — mixed styling is common and changes what you should write.
  7. Check for a vendored component layer. components.json or an equivalent marker plus a UI directory means components were copied in and are now project source (see shadcn-ui).
  8. Open two or three real source files in the area you will touch. Config says what is possible; the source says what this team actually does — import style, file naming, test colocation, state library usage.
  9. Write the stack down in one short block, with the file each claim came from, and a separate list of what you could not determine. That list is part of the result.

What a signal does and does not license

  • A framework in dependencies → the framework is installed. It does not tell you which router, rendering mode or directory convention is in use. Read the layout.
  • A config file exists → that tool runs. It does not tell you the major version, and majors move config between files. The lockfile decides.
  • TypeScript installed → files are typed. It does not mean strict is on, that any is discouraged, or that generated types are current. Read tsconfig and one real file.
  • A test framework installed → tests can run. It does not mean they pass, cover this area, or are run in CI. Running them is a separate act.
  • A state or data library installed → it is available somewhere. It does not mean the module you are editing uses it. Grep the directory you are in.
  • components.json present → a component CLI was used at some point. It does not mean the components are unmodified, current, or the only UI layer.
  • A lockfile entry → what would install. node_modules is what actually runs; if behaviour contradicts the lockfile, the installed tree is the tiebreaker.

Checklist

  • The package.json read is the one governing the file being changed
  • Package manager identified from the lockfile, not from habit
  • Framework and styling versions taken from the lockfile
  • Routing/rendering model confirmed from the directory layout
  • Dev, build and test commands quoted from scripts
  • At least two real source files read for convention
  • Unknowns written down rather than filled in by assumption

Failure handling

  • No lockfile — versions are unknown. Say so; do not resolve the range in your head. Behaviour that depends on a major version has to be checked against the installed tree or the docs.
  • Conflicting signals (two lockfiles, a config for a tool that is not installed, a framework version that contradicts the layout) — report the conflict. Picking one silently makes you the source of the next bug.
  • Vendored or patched dependencies (patches/, resolutions/overrides, a checked-in fork) — upstream documentation may not describe what runs here. Read the patch.
  • Detection disagrees with the user — say what you found and where, then follow the user. Do not quietly rewrite their description of their own project.

Evidence to report

A short stack block — package manager, framework and version, router/rendering model, styling layer and version, component layer, TypeScript posture, test setup, dev/build/test commands — with the file each line came from, followed by an explicit "not determined" list. A stack summary with no file references is a guess with formatting.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Stack Detection?

Establish what a frontend project actually uses — framework, router, package manager, styling, component layer, TypeScript posture — from package.json, lockfiles, config files and the source itself, before loading framework-specific guidance or writing a line of code. Fires at the start of any frontend task in an unfamiliar or half-remembered repo, and whenever you are about to assume a convention. Not for choosing a stack for a new project, and not a substitute for reading the code you are about to change.

Навіщо використовувати Stack Detection у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Stack Detection — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Stack Detection у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/frontend/stack-detection. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Stack Detection?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Stack Detection?

Зі скількома забажаєте. У TypingMind ви можете використовувати Stack Detection із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Stack Detection?

Так. На GitHub цю навичку публікує nahid-sparktales за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇