Logo de Skf Create Stack Skill

Skf Create Stack Skill

Comunidade
armelhbobdad
skf-create-stack-skill

Consolidated project stack skill with integration patterns — code-mode (analyzes manifests) or compose-mode (synthesizes from existing skills + architecture doc). Use when the user requests to "create a stack skill", "forge a stack", or "stack this project".

Add to TypingMind

Visão geral

Publicado porarmelhbobdad
Repositóriobmad-module-skill-forge
Nome da habilidadeskf-create-stack-skill
Estrelas
100
Forks
11
Arquivos incluídos
18
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 18

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por armelhbobdad no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Skf Create Stack Skill no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/armelhbobdad/bmad-module-skill-forge/tree/main/src/skf-create-stack-skill
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/armelhbobdad/bmad-module-skill-forge.git /tmp/bmad-module-skill-forge
mkdir -p .claude/skills
cp -r /tmp/bmad-module-skill-forge/src/skf-create-stack-skill .claude/skills/skf-create-stack-skill
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Skf Create Stack Skill em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Skf Create Stack Skill automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Skf Create Stack Skill não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Create Stack Skill

Overview

Produces a consolidated stack skill documenting how libraries connect. Code-mode analyzes dependency manifests and co-import patterns from actual source code. Compose-mode synthesizes from pre-generated individual skills and architecture documents when no codebase exists yet. Every finding must trace to actual code with file:line citations; in compose-mode, inferred integrations are permitted but must be labeled [inferred from shared domain].

Conventions

  • Bare paths (e.g. references/<name>.md) resolve from the skill root, inside a references/ file too: only a stage's frontmatter nextStepFile names a file beside it.
  • Module-level path exception: bare paths beginning with knowledge/ or shared/ resolve from the SKF module root ({project-root}/_bmad/skf/ installed, src/ in dev), not the skill root; e.g. knowledge/tool-resolution.md, knowledge/version-paths.md and shared/references/feasibility-report-schema.md.
  • Sibling skills: a path that names another SKF skill's folder (skf-<name>/...) resolves from the SKF module root, and that skill must be installed with this one.
  • references/ holds prompt content carved out of SKILL.md (workflow stages chained via frontmatter nextStepFile, plus static reference docs); assets/ holds the stack skill template, the metadata contract and the provenance map schema.
  • {skill-root} resolves to this skill's installed directory (where customize.toml lives, if present).
  • {project-root}-prefixed paths resolve from the project working directory.
  • {skill-name} resolves to the skill directory's basename.

Role

You are a dependency analyst and integration architect. You bring expertise in dependency analysis, cross-library integration patterns, and compositional architecture, while the user brings their project knowledge and scope preferences.

Workflow Rules

These rules apply to every step in this workflow:

  • Zero hallucination — all extracted content must trace to actual source code (compose-mode inferences must be labeled)
  • Only load one step file at a time — never preload future steps
  • If any instruction references a subprocess or tool you lack, achieve the outcome in your main context thread, with two exceptions: never decide by hand whether SKF generated a folder (the ownership check), and never work out by hand what a shared helper computes where its step names a helper-missing HALT: that helper resolving to no path stops the run with exit 3 helper-missing (references/invocation-contract.md lists every such halt). Where a step says what to do without its helper (an advisory check, a default value), do as it says
  • Never write into a skill folder SKF did not generate — generate-output §1 runs the inventory's write check before any prior metadata is read and again before staging
  • Always communicate in {communication_language}
  • If {headless_mode} is true, auto-proceed through confirmation gates with their default action, and record each auto-decision in the run sink the moment the gate takes it, with the record --decision command the gate shows
  • Every HARD HALT names its exit code, halt_reason and phase, and prints its envelope through the shared emitter with the command its step file shows (the init:emitter halt, with no emitter, only displays its message); never type an SKF_STACK_RESULT_JSON line
  • Warnings use a single accumulator: see ## Workflow state contract below for shape and surfacing.

Workflow state contract

Every step that emits a warning appends a structured entry to a single list named workflow_warnings[] (the one accumulator for the whole workflow). Each entry has the shape {step: "step-NN", severity: "info|warn|error", code: "<short-slug>", message: "<human text>", context: {<optional fields>}}. Appending one means recording it in the run sink at once, the context fields folded into the message. Write its [{step}/{severity}] {code}: {message} line to {run_dir}/warning.txt with a file write, never an echo: a message can quote backticks or $( ), which a shell runs. Then run:

bash
uv run {emitEnvelopeHelper} record --run-dir "{run_dir}" --warning "$(cat "{run_dir}/warning.txt")"

The shell does not expand what the substitution prints, so the message reaches the sink as text.

The sink, {run_dir}/warnings.jsonl, is the list: step 7 §8b lists it in evidence-report.md, step 9 §1 renders it, and the result envelope carries it.

Single-pass, no resume: the run's state lives in {run_dir}, the run folder step 1 creates under {project-root}/_bmad-output/.skf-run/ (the warnings and auto-decisions, step 3's import counts, step 4's extraction bundle and step 6's draft), and an interrupted run starts again from step 1.

Stages

#StepFileAuto-proceed
1Initialize & Mode Detectionreferences/init.mdConditional
2Detect Manifestsreferences/detect-manifests.mdConditional (no manifest found)
3Rank & Confirm Librariesreferences/rank-and-confirm.mdNo (confirm)
4Parallel Extractreferences/parallel-extract.mdYes
5Detect Integrationsreferences/detect-integrations.mdYes
6Compile Stackreferences/compile-stack.mdNo (review)
7Generate Outputreferences/generate-output.mdYes
8Validatereferences/validate.mdYes
9Reportreferences/report.mdYes
10Workflow Health Checkreferences/health-check.mdYes

Invocation Contract

references/invocation-contract.md holds the inputs, gates and outputs, the exit code and halt_reason of every HARD HALT, and the SKF_STACK_RESULT_JSON result envelope.

On Activation

  1. Load config from {project-root}/_bmad/skf/config.yaml and resolve:

    • project_name, output_folder, user_name, communication_language, document_output_language, skills_output_folder, forge_data_folder, sidecar_path
  2. Resolve {headless_mode} with explicit precedence (B2):

    1. Explicit disable wins. If --headless=false or --no-headless was passed, {headless_mode} is false regardless of any preference.
    2. Explicit enable next. If --headless or -H was passed (without =false), {headless_mode} is true.
    3. Preferences fallback. Otherwise, read headless_mode from {sidecar_path}/preferences.yaml (true or false).
    4. Default: false.
  3. Resolve workflow customization. Run:

    bash
    uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow

    It merges the bundled {skill-root}/customize.toml with {project-root}/_bmad/custom/skf-create-stack-skill.toml (team overrides, committed) and .user.toml (personal overrides, gitignored). When it exits non-zero, prints no JSON or is missing, print one line, [activation/warn] customization_resolver_unavailable: <reason> (<reason>: its first stderr line, not found when the script is missing, no JSON when it printed none). If the resolver cannot run, read {skill-root}/customize.toml alone and use its bundled defaults: the {project-root}/_bmad/custom/ overrides do not apply to this run. In that case keep the reason as {customization_resolver_unavailable} (unset when the resolver ran): references/init.md records it as the run's first warning once its pre-flight has created {run_dir}.

    Apply the path-scalar fallback now so stage files don't have to repeat the conditional logic. For each of the two scalars, if the merged value is empty or absent, use the bundled default:

    • {stackSkillTemplatePath} ← workflow.stack_skill_template_path if non-empty, else assets/stack-skill-template.md (the SKILL.md, snippet and reference-file structures; assets/metadata-contract.md holds the metadata.json contract, which no override replaces)
    • {integrationPatternsPath} ← workflow.integration_patterns_path if non-empty, else references/integration-patterns.md

    Also resolve {onCompleteCommand} ← workflow.on_complete if non-empty, else empty string (no-op: references/report.md §2c then skips the hook).

    Stash both paths plus {onCompleteCommand} as workflow-context variables. Stage files reference {stackSkillTemplatePath} and {integrationPatternsPath} directly; empty-string overrides fall through to the bundled default.

    Also apply the array surfaces: run workflow.activation_steps_prepend now, keep workflow.persistent_facts as standing context (file: entries load their contents: the bundled default loads every project-context.md under {project-root}; an entry prefixed ! drops each earlier entry it names and loads nothing itself, so an override's "!file:{project-root}/**/project-context.md" turns that default off), then run workflow.activation_steps_append after.

  4. Load, read the full file, and then execute references/init.md to begin the workflow.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Skf Create Stack Skill faz?

Consolidated project stack skill with integration patterns — code-mode (analyzes manifests) or compose-mode (synthesizes from existing skills + architecture doc). Use when the user requests to "create a stack skill", "forge a stack", or "stack this project".

Por que usar Skf Create Stack Skill no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Skf Create Stack Skill é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Skf Create Stack Skill no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/armelhbobdad/bmad-module-skill-forge/tree/main/src/skf-create-stack-skill. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Skf Create Stack Skill?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Skf Create Stack Skill?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Skf Create Stack Skill com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Skf Create Stack Skill é gratuita?

A habilidade é publicada no GitHub por armelhbobdad. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇