docs(skill): encurta a descrição da skill nfeio-php-sdk para o roteamento - #41
Merged
Merged
Conversation
…ento A descrição tinha ~1.600 caracteres, acima do limite de 1.024 da spec de Agent Skills, com lista de sinônimos e fatos de comportamento que já estão no corpo da skill. Fica só o que decide quando acionar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que mudou
skills/nfeio-php-sdk/SKILL.md: o campodescriptiondo frontmatter caiu de ~1.600 para 541 caracteres. Mantém o gatilho (MUST trigger), os sinais de detecção (composer.jsoncomnfe/nfe,Nfe\Client), os frameworks, os documentos (NFS-e/NF-e/NFC-e/CT-e/CFe-SAT), consultas, cálculo de impostos, webhooks, certificados, polling e o aviso de que os idiomas diferem do SDK Node. O corpo da skill não mudou.Por quê
A descrição passava do limite de 1.024 caracteres da spec de Agent Skills e carregava em toda requisição uma lista de sinônimos e fatos de comportamento (retry de POST,
externalId, paginação 1-based, downloads emstring…) que são conteúdo, não roteamento. Agentes seguem essas instruções literalmente; o lugar desses fatos é o corpo.Como verifiquei
instanceof(Async Invoice Creation), semcreateAndWait(Manual Polling, Pitfall Packagist Indisponível #2), retry method-aware / POST sem retry em 5xx (Quick Start, Pitfall Install of nfe/nfe failed #17),externalId+findByExternalId(Pitfall Install of nfe/nfe failed #17, Decision Tree),ServiceInvoicetipado +raw(Pitfall docs(readme): banner apontando para a branch v3 #19), hierarquiaNfe\Exception(Error Handling), paginação 1-based (Pitfall Adicionar Suporte ao PHPUnit #6), downloads emstring(File Downloads),Nfe\Webhookestático (Webhooks),dataApiKey(Dual API keys, Pitfall New class name #12), CNPJ/CPF/CEP e cálculo de impostos (Resource Map), "PHP is not Node" (introdução).Nfe\\escapado viraNfe\).🤖 Generated with Claude Code