Borrowing it
Nothing to install: this file belongs to julienkay/com.doji.package-authoring. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/julienkay/com.doji.package-authoring/master/.codex/skills/package-authoring-test-creation/SKILL.mdgit clone --depth 1 https://github.com/julienkay/com.doji.package-authoringWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/julienkay/com.doji.package-authoring/package-authoring-test-creation)<a href="https://agentmods.dev/skills/julienkay/com.doji.package-authoring/package-authoring-test-creation"><img src="https://agentmods.dev/badge/skills/julienkay/com.doji.package-authoring/package-authoring-test-creation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/julienkay/com.doji.package-authoring/package-authoring-test-creation"><img src="https://agentmods.dev/badge/skills/julienkay/com.doji.package-authoring/package-authoring-test-creation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.01032 |
| Opus 5 | $0.00030 | $0.00516 |
| Sonnet 5 | $0.00012 | $0.00206 |
| Haiku 4.5 | $0.00006 | $0.00103 |
Grade A, and why
package-authoring-test-creation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Package Authoring Test Creation
Use this skill for tests that extend the existing package-authoring editor test suite in com.doji.package-authoring.
Primary scope:
com.doji.package-authoring/Tests/Editor/com.doji.package-authoring/Editor/API/PackageAuthoringApi.cs- generated output rooted in temp directories
Choose the destination fixture before writing the test:
- Add manifest assertions to
PackageAuthoringApiManifestGenerationTests. - Add templated text-file assertions to
PackageAuthoringApiTemplateResolutionTests. - Add companion project manifest assertions to
PackageAuthoringApiProjectGenerationTests. - Only create a new fixture when the new assertions introduce a distinct output contract that would make the existing fixtures mixed or noisy.
Default testing strategy:
- Prefer black-box editor tests that call
PackageAuthoringApi.GeneratePackage(...)orPackageAuthoringApi.GenerateProject(...). - Generate into a unique temp directory under
Path.GetTempPath(). - Assert on concrete generated files, not internal helper return values.
- Clean up the temp directory in
TearDown.
What to cover first:
- tokenized values that must survive UI input and resolve in generated files
- generated
package.jsoncontent such asauthor.url,documentationUrl, dependencies, and Unity version fields - generated companion project
Packages/manifest.jsoncontent such as local package reference, IDE package selection, andtestables - generated templated files like repository
README.md,AGENTS.md, docs landing pages, and DocFX config files
What to avoid by default:
- reaching into
internaltemplate helpers when the public API can exercise the same path - brittle assertions on full file snapshots when a few targeted assertions capture the contract
- tests that require opening Unity projects, launching external tools, or initializing git unless the user explicitly wants that coverage
- creating a new fixture when one of the existing output-contract fixtures is already the right home
Implementation pattern:
internal sealed class PackageAuthoringApiManifestGenerationTests : PackageAuthoringApiTestBase {
[Test]
public void GeneratePackage_ResolvesTokenizedManifestUrls() {
ProjectSettings projectSettings = CreateProjectSettings("Tokenized Companion");
PackageSettings packageSettings = CreatePackageSettings(
authorUrl: "https://docs.doji-tech.com/{{PACKAGE_NAME}}",
documentationUrl: "https://docs.doji-tech.com/{{PACKAGE_NAME}}/manual");
string rootDirectory = PackageAuthoringApi.GeneratePackage(
projectSettings,
packageSettings,
CreateRepoSettings(),
openProjectAfterCreation: false);
string packageManifestPath = Path.Combine(
rootDirectory,
"com.doji.tests.tokenized",
"package.json");
// Assert on generated files here.
}
}
Assertion pattern:
- Build
ProjectSettings,PackageSettings, andRepoSettingswith only the fields needed for the scenario. - Disable git initialization unless the test is explicitly about git behavior.
- Parse generated JSON with
JObject.Parse(...)for manifest assertions. - For package ids or dependency keys that contain dots, read from the containing
JObjectby exact key, for exampledependencies["com.doji.package-authoring"], instead ofSelectToken(...). - For template outputs, assert both the resolved expected value and absence of unresolved tokens where that matters.
When adding or updating tests:
- Start by placing the test in the existing fixture whose output contract already matches the new assertion.
- Reuse
PackageAuthoringApiTestBasefor repeated temp-directory lifecycle and canonical settings builders unless there is a concrete reason not to. - Keep
PackageAuthoringApiTestBasefocused on stable cross-fixture concerns only; keep output-specific assertions and scenario-specific helpers in the concrete fixtures. - Create a new fixture only when the new test target is a separate output contract from the existing suites.
- Verify the test still reflects current on-disk package behavior, especially after generator refactors.
- If the work introduces a new generated surface, add at least one regression assertion at that surface rather than only testing supporting internals.
- Treat dotted package names as literal JSON property names, not JSONPath segments.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 98 lines · 61 tokens per session scan A fe45f4d8f04f
package-authoring-test-creation is a skill published in the GitHub repository julienkay/com.doji.package-authoring (5 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 1,032 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
tests-run
Execute Unity tests (EditMode or PlayMode) and return per-test results. Supports filtering by test assembly, namespace, class, and method. Refreshes the AssetDatabase first; defers execution across domain reloads if scripts changed. Precondition: every open scene must be saved — dirty scenes abort the run.
gdunit-driver
Run gdUnit4 unit tests and parse results into structured output. Use this skill after writing or modifying code to verify correctness via unit tests, when diagnosing test failures, or when writing new test files. Triggers: "run tests", "test fails", "write a test", any gdUnit4/unit test mention. Supports both GDScript…
unity-testability
Advise on Unity testability.
godot
Develop, test, automate, export, and deploy Godot 4.x games. Use when working with Godot projects, GDScript, GdUnit4, PlayGodot, project exports, or Godot CI and deployment.
roblox-testing
Testing, debugging, and profiling Roblox experiences — Developer Console, Output, logging discipline, pcall and assertion patterns, TestEZ unit tests, the MicroProfiler (client and server), Scene Analysis, Script Profiler, memory diagnostics, network debugging, Luau type checking, and connection cleanup. Use when…
unity-testing
Unity 6 testing guide. Use when writing unit tests, integration tests, or doing TDD with Unity Test Framework. Covers Edit Mode and Play Mode tests, NUnit attributes ([Test], [UnityTest], [SetUp], [TearDown]), testing MonoBehaviours and coroutines, and CI/CD integration. Based on Unity 6.3 LTS documentation.