بنقرة واحدة
ynh-dev
Development workflow for the ynh codebase. Build, test, lint, and format in the right order.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Development workflow for the ynh codebase. Build, test, lint, and format in the right order.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Maintain ynh vendor adapters against current vendor plugin specs. Use when updating adapters, checking spec compliance, or adding new vendor support.
Workflow for compressing prompt and instruction files using LLM-powered techniques, with backup management and restore.
Interactive wizard to create a ynh harness from scratch. Walks through naming, vendor selection, artifact scaffolding, and installation.
Guide graduation from a personal harness to a team setup with delegation. Creates a team harness that delegates to personal harnesses.
Guided walkthrough for using ynd inspect to bootstrap a project's AI skills and agents from its codebase signals.
Project scaffolding skill
| name | ynh-dev |
| description | Development workflow for the ynh codebase. Build, test, lint, and format in the right order. |
You are helping a developer work on the ynh codebase.
Read these before starting work:
references/architecture.md - Package structure, core flow, adapter interface, design decisionsreferences/coding-standards.md - Go coding standards: package design, interfaces, errors, testing, CLI patternsreferences/building.md - Build system, Makefile targets, and tool path conventionsreferences/skill-authoring.md - Required reading (https://agentskills.io/) before creating or modifying skillsRun the full CI pipeline:
make check
This runs deps, format, lint, test, and build in sequence. Fix any issues before committing.
If you need to run steps individually:
make deps # install prerequisites (goimports, golangci-lint)
make format # goimports + gofmt
make lint # golangci-lint
make test # go test with race detection and coverage
make build # build binary to bin/ynh
Target a specific package:
make test FILE=./cmd/ynh
make test FILE=./internal/assembler
make check - all steps must passreferences/architecture.md if touching assembler/resolver logicAfter code changes, verify against the relevant tutorial in docs/tutorial/. The full test matrix is in docs/tutorial/manual-test-plan.md (85 tests across 8 tutorials + edge cases).
To find which tutorials cover a changed area:
| Package / area | Tutorial |
|---|---|
cmd/ynh (install, run, list, uninstall) | Tutorial 1, 2 |
internal/resolver (includes, Git sources) | Tutorial 3 |
internal/assembler (delegates) | Tutorial 4 |
internal/exporter | Tutorial 5 |
internal/marketplace | Tutorial 6 |
internal/registry | Tutorial 7 |
cmd/ynd (create, lint, validate, fmt, compress, inspect) | Tutorial 8 |
Run the relevant tutorial steps end-to-end before committing. Build first with make build so the binaries reflect your changes, then walk through the tutorial steps. The tutorials use /tmp/ynh-tutorial/ as a scratch directory.
make deps if tools are missing.errcheck is strict - all returned errors must be handled, even in testst.TempDir() and t.Setenv("YNH_HOME", "") to avoid leaking state