contributing
БесплатноБез исполняемых скриптовНе проверенHow to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through…
от evloghq★ 1 955 звёзд на GitHubОб этом скилле
Contributing to evlog
The repository's own AGENTS.md is the source of truth for all of this. It changes; this skill does not restate it in full on purpose. Read AGENTS.md from the repo before giving specifics.
Your system context has a Workspace section saying whether the repository is checked out on this turn. With a checkout, read_file /workspace/AGENTS.md: free, and at the ref you were summoned on. Without one, github__getFileContent on AGENTS.md at the root of the repository that section names.
What follows is the shape of the answer, so you know what to look for and what to warn about.
The parts people get wrong
- A changeset is required for anything a consumer of evlog would notice: a feature, a bug fix, a breaking change.
pnpm changeset, committed alongside the code. Changes confined toapps/*orexamples/*never need one. A PR without a changeset for a user-facing change does not merge. - Conventional Commits, lowercase subject.
feat: add stream server, notfeat: Add stream server. Omit the scope when the change is cross-cutting; never useevlogas a scope. A new subsystem needs its scope registered in both.github/workflows/semantic-pull-request.ymland.github/pull_request_template.md, and because title validation reads the base branch, that registration has to land in an earlier PR. - The scope list is a closed set, and you read it before you write the title.
.github/workflows/semantic-pull-request.ymlholds the only scopes CI accepts. Anything else failsValidate PR title, and a scope that merely sounds plausible (evlog, the package name, the app directory) is the usual way that happens. A change confined toapps/docsisdocs:, with no scope:docsis already the type. - A bug fix needs a failing regression test first, then the fix.
- New exports go in
packages/evlog/package.json(exportsandtypesVersions) andtsdown.config.ts. - Skills must stay in sync. If a change touches something a skill documents, the SKILL.md changes in the same PR, both the internal
.agents/skills/and the publishedskills/.
The Definition of Done
AGENTS.md lists eight conditions. The ones worth repeating up front: pnpm run lint, pnpm run typecheck and pnpm run test all exit 0; the change has a matching test; new public APIs have JSDoc.
Authored procedures in the repo
For anything substantial, the repo already has a step-by-step skill. Read the relevant one with github__getFileContent rather than improvising:
| Task | Skill |
|---|---|
| New drain adapter | .agents/skills/create-adapter/SKILL.md |
| New enricher | .agents/skills/create-enricher/SKILL.md |
| New framework integration | .agents/skills/create-framework-integration/SKILL.md |
New evlog map rule or framework adapter |
.agents/skills/create-map-rule/SKILL.md |
Each covers source, build config, package exports, tests, and every doc page that has to move with it. They are long and specific; point people at them and read the relevant section rather than summarizing from memory. On a GitHub turn they are on disk under /workspace/.agents/skills/.
Verifying a change before you propose it
The sandbox carries a ready-to-work checkout at /workspace/repo, with dependencies installed and dev:prepare already run; each session starts on the current main. When you have written or edited code, run the checks there rather than asserting they pass:
cd /workspace/repo
pnpm run lint
pnpm run typecheck
pnpm --filter evlog exec vitest run test/path/to/file
If you could not run the checks, say so plainly in the pull request body instead of implying a green build.
For authored or changed prose, run the content review even when the scanner scores 100. Capture each page with content_snapshot and send its identity to content_review, along with sources and executed-check results. Source edits must be committed before this handoff; page text can remain uncommitted. The reviewer shares the parent workspace and must use content_load. Do not edit files or change Git state while reviewers are reading. Wait for all readers to finish, recapture and compare the current identity with the rewrite input, then apply reviewed changes serially with the parent’s existing editing tools. A changed identity requires a fresh review first. Capture and review the saved file again after editing; a proposed rewrite is not verification of the saved result. A critical factual error or missing evidence blocks readiness. Follow content-pass for the verification procedure, while keeping the scope the maintainer requested.
Read the changed pages together before shipping. Each should answer a distinct reader question, agree on behavior and link to shared explanations instead of repeating them. Record the revision, command and observed result for runtime claims. After changing relevant code or examples, rerun the affected checks.
Shipping a change
Th
Установить contributing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл contributing?
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the package.
Как установить скилл contributing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл contributing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic