Logo de Auditing Workflow Conventions

Auditing Workflow Conventions

Organização
bitwarden
auditing-workflow-conventions

Referência das convenções de nomenclatura do GitHub Actions da Bitwarden que o linter de workflow (bwwl) não aplica. Abrange três padrões — IDs de job (kebab-case), nomes de etapas (imperativo em Sentence case) e nomes de arquivos de workflow (kebab-case.yml, prefixo `_` para reutilizáveis) — além de um glossário consultivo de nomes canônicos de etapas e procedimentos para localizar referências ao renomear IDs de job e nomes de arquivos. Use ao auditar ou criar workflows e quando surgirem dúvidas como "qual padrão de maiúsculas e minúsculas usar nos IDs de job", "este workflow reutilizável deve se chamar build.yml ou _build.yml?" ou "revise estes workflows para verificar a consistência dos nomes". Consulte junto com bitwarden-workflow-linter-rules, a fonte oficial das regras verificadas pelo linter; esta habilidade cobre apenas o que ficou de fora.

Add to TypingMind

Visão geral

Publicado porbitwarden
Repositórioai-plugins
Nome da habilidadeauditing-workflow-conventions
Estrelas
149
Forks
19
Arquivos incluídos
Somente instruções
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.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

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

Instalação

Instale a habilidade de IA Auditing Workflow Conventions 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/bitwarden/ai-plugins/tree/main/plugins/bitwarden-devops-engineer/skills/auditing-workflow-conventions
  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/bitwarden/ai-plugins.git /tmp/ai-plugins
mkdir -p .claude/skills
cp -r /tmp/ai-plugins/plugins/bitwarden-devops-engineer/skills/auditing-workflow-conventions .claude/skills/auditing-workflow-conventions
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Auditing Workflow Conventions 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 Auditing Workflow Conventions 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, Auditing Workflow Conventions 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á.

Ownership

This skill covers only what bwwl cannot check. For anything the linter enforces, invoke Skill(bitwarden-devops-engineer:bitwarden-workflow-linter-rules) — that skill is the source of truth for all bwwl rules, including their triggers and fix procedures. Do not report a finding here that duplicates a linter rule.

Naming categoryOwner
Job IDsThis skill
Step name casingThis skill
Workflow file namesThis skill
Workflow and job display name:bitwarden-workflow-linter-rules — name_capitalized, name_exists
Outputsbitwarden-workflow-linter-rules — underscore_outputs
Job-level env varsbitwarden-workflow-linter-rules — job_environment_prefix
Inputs, bash variables, artifact namesNo standard. Do not invent one — flag the gap instead.

name_capitalized checks only that the first character is capitalized. Get Package Version passes the linter and still deviates from the Sentence case standard below. The two are complementary.

Standards

These three IDs are defined by this skill, not by bwwl. Label them as convention findings, never as linter findings.

job-id-kebab-case

  • Applies to: every key under jobs:.
  • Standard: kebab-case.
  • Correct: build, test, lint, publish, upload, build-artifacts, deploy-service, check-permissions, calculate-version.
  • Deviates: bump_version, cut_branch, deployService, DeployService, BUILD_ARTIFACTS.
  • Flag when: a job ID uses snake_case, camelCase, PascalCase, or UPPER_SNAKE. Single-word IDs are compliant and are never a finding.

A job ID is an identifier, not a label. Before proposing a rename, resolve every reference:

  1. needs: in the same file, in both scalar and list form.
  2. ${{ needs.<job-id>.* }} expressions anywhere in the file.
  3. jobs.<job-id>.outputs at the workflow level of a reusable workflow.

Check-run names derive from a job's name:, not its ID, so a job-ID rename does not affect required status checks — unless the job has no name:, in which case the ID becomes the check name and a rename can break a ruleset that requires it. name_exists already flags a job with no name:; if you encounter one, fix that first and rename second.

step-name-sentence-case

  • Applies to: every name: under steps:.
  • Standard: Sentence case with a leading imperative verb — capitalize the first word plus proper nouns and acronyms only. Proper nouns and acronyms keep their own casing: Azure, Docker, Node, .NET, SDK, RC, MSSQL.
  • Correct: Check out repo, Set up .NET, Print environment, Log in to Azure, Generate Docker image tag, Install Node dependencies, Run tests, Push changes, Upload SDK artifacts.
  • Deviates: Delete Release Branch, Get Package Version, Build & Package Binaries, Upload SDK Artifacts, Dependency install.
  • Flag when: a step name uses Title Case, ALL CAPS, or drops the leading imperative verb.

Step names are display-only — they are not addressable from expressions, since steps.<id> resolves the step's id:. Changing one is safe and needs no reference sweep. This is the only standard here an agent may apply directly during an edit.

workflow-file-naming

  • Applies to: every file in .github/workflows/.
  • Standard: kebab-case.yml, with a _ prefix if and only if the workflow is exclusively reusable. The extension is always .yml, never .yaml. The prefix and the casing are independent — _deploy_service.yml is correctly prefixed and incorrectly cased; the compliant form is _deploy-service.yml.
  • Correct: build-app.yml, scan-dependencies.yml, _version.yml, _deploy-service.yml.
  • Deviates: build_only.yml, API_tests.yml, Integration_Tests.yml, deploy-service.yaml, _deploy_service.yml.
  • Flag when: the name is not kebab-case, the extension is .yaml, an exclusively reusable workflow lacks the _ prefix, or a _-prefixed file is not exclusively reusable.

Exclusively reusable means the on: block declares nothing outside workflow_call and workflow_dispatch. workflow_dispatch is a manual testing and operations escape hatch, not a standalone entry point, so it does not disqualify the prefix.

Any other trigger — push, pull_request, pull_request_target, schedule, release, workflow_run, repository_dispatch — makes the workflow dual-purpose: it both runs on its own and is callable by others. Dual-purpose workflows take no prefix. This is a deliberate and common design, not a deviation. Presence of workflow_call alone never justifies a prefix finding; check the full trigger set first.

on: blockPrefix
workflow_callRequired
workflow_call + workflow_dispatchRequired
workflow_call + any auto-triggerNone — dual-purpose
No workflow_callNone

Renaming a workflow file is destructive. The filename is the workflow's public identifier — it addresses the workflow from outside the repo, and every external reference breaks silently on rename. Never rename one as part of an audit or an unrelated edit. Report it and let the repo owner schedule it.

If a rename is explicitly requested, establish the known reference set first, then use git mv:

  1. In-repo callers — grep the repo for the filename. Catches uses: ./.github/workflows/<file> and any local script that names it.
  2. Org-wide references — gh search code "<file>" --owner bitwarden. Catches uses: bitwarden/<repo>/.github/workflows/<file>@<ref> in other repos plus any script or tooling that names the file. A local grep will not find these.

This establishes a floor, not a ceiling. Nothing outside the org's indexed code is discoverable: automation in other systems, runbook and documentation links, and anything invoking the workflow by filename through the dispatch API. Report what the two searches found and state plainly that the set may be incomplete — the residual unknown is exactly why the rename belongs to the repo owner and not to an audit.

Run history is keyed to the file path and always detaches on rename. Prior runs remain but no longer group under the renamed workflow. This is unavoidable — surface it, do not try to preserve it.

Advisory: Canonical Step Names

Preferred wording, not a standard. Consistent phrasing makes steps greppable across repos, but a step name outside this table is never a finding — most step names are legitimately unique to their workflow.

ActionCanonical formAlso seen
Check out the repositoryCheck out repoCheckout repo, Checkout code, Checkout Branch, Check out repository, Checkout
Log in to AzureLog in to AzureLogin to Azure, Azure Login
Log out from AzureLog out from Azure—
Install a toolchainSet up {tool} — two words, matching actions/setup-*Setup {tool}
Retrieve secrets from AKVRetrieve secretsGet secrets, Setup secrets
Print the environmentPrint environmentPrint Environment

When a step name both deviates from Sentence case and appears in this table (Azure Login), the casing is the finding and the canonical form is the suggested fix.

Applying These Standards

  • A deviation is a flag, not a verdict. These standards describe the target state; they do not authorize a rename. Real workflows carry deliberate exceptions — a job ID matched by external tooling, a filename referenced by a system outside this repo, a step name that reads better than the canonical phrase. Surface the deviation with what a compliant form would be, and let the owner decide. Do not treat silence as consent.
  • Only step names are safe to change in place. Job IDs and filenames both require a reference sweep first. Never fold either rename into an unrelated change.
  • This skill does not edit. Its allowed-tools is read-only — enough to inspect workflows and run the org-wide reference sweep, nothing more.
  • Renames are all-or-nothing. A partially applied rename is worse than the original deviation — it produces a broken workflow instead of an inconsistent one. If the full reference set cannot be resolved, do not start.
  • Do not double-report. If an item is already covered by name_capitalized, underscore_outputs, or job_environment_prefix, the finding belongs to the linter. See the ownership table.
  • Flag gaps honestly. Inputs, bash variable casing, and artifact names have no enforced standard. Say so; do not assert a convention this skill does not define.

Perguntas frequentes

O que a habilidade de IA Auditing Workflow Conventions faz?

Referência das convenções de nomenclatura do GitHub Actions da Bitwarden que o linter de workflow (bwwl) não aplica. Abrange três padrões — IDs de job (kebab-case), nomes de etapas (imperativo em Sentence case) e nomes de arquivos de workflow (kebab-case.yml, prefixo `_` para reutilizáveis) — além de um glossário consultivo de nomes canônicos de etapas e procedimentos para localizar referências ao renomear IDs de job e nomes de arquivos. Use ao auditar ou criar workflows e quando surgirem dúvidas como "qual padrão de maiúsculas e minúsculas usar nos IDs de job", "este workflow reutilizável...

Por que usar Auditing Workflow Conventions no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Auditing Workflow Conventions é 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 Auditing Workflow Conventions no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/bitwarden/ai-plugins/tree/main/plugins/bitwarden-devops-engineer/skills/auditing-workflow-conventions. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Auditing Workflow Conventions?

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 Auditing Workflow Conventions?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Auditing Workflow Conventions 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 Auditing Workflow Conventions é gratuita?

A habilidade é publicada no GitHub por bitwarden. 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 👇