بنقرة واحدة
fixture-add
Scaffold a new YAML test fixture and register its path constant in testutil/test_constants.go
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new YAML test fixture and register its path constant in testutil/test_constants.go
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run test coverage check and report per-package breakdown highlighting packages below the 72% gate and 80% new-code target
Run gremlins mutation testing on a specified Go package, following the same pattern as make test-mutation
Scaffold a new documentation theme following the project's theme registration pattern from CLAUDE.md
Run all project security scans (make security) and summarize findings by tool and severity
| name | fixture-add |
| description | Scaffold a new YAML test fixture and register its path constant in testutil/test_constants.go |
The user provides: fixture type and content description.
Steps:
Choose the correct subdirectory under testdata/yaml-fixtures/:
actions/javascript/, actions/composite/, or actions/docker/actions/invalid/ or error-scenarios/configs/dependencies/Create the YAML fixture file following the naming convention of existing fixtures in that directory. Inspect one existing fixture file first to match the YAML structure and formatting.
Add a constant to testutil/test_constants.go following the TestFixture<Name> pattern,
pointing to the path relative to testdata/yaml-fixtures/ (e.g. "actions/composite/my-fixture.yml").
Run go build ./testutil/... to verify it compiles.
Show the user the usage pattern:
testutil.WriteActionFixture(t, tmpDir, testutil.TestFixture<Name>)
// or for config fixtures:
testutil.MustReadFixture(testutil.TestFixture<Name>)