Subchapter 7.15
references/world-knowledge.mdMarkdown11 KBView on GitHub
A World Knowledge Skill is a repository-local skill that improves future Task Spec generation and Spec2Task implementation for one project or benchmark. It contains reusable project-specific knowledge, procedures, scripts, assets, tests, and examples.
It is not a complete simulated company, a copy of repository documentation, or a container for one Task’s hidden truth. It can describe any reusable project knowledge needed across Task design, Environment construction, data creation, verification, Harbor execution, calibration, or audit.
Do not assume every coding agent discovers the same project skill directory. Inspect the active agent, its current documentation or configuration, and the repository’s existing conventions. Good landing spots include:
.agents/skills/<project>-world/SKILL.md for agents and repositories that
discover project skills under .agents/skills/; and.claude/skills/<project>-world/SKILL.md for Claude Code project skills.Use the native project location that the active agent will discover. If the repository has no established convention, or the intended agent is unclear, show the proposed path and reason to the user and get confirmation before creating the skill. For another agent, use its documented project skill location. Do not create copies in several locations unless the user asks for that compatibility work.
The resulting skill has this structure wherever it is placed:
<project-skill-root>/<project>-world/
├── SKILL.md # required
├── references/ # optional detailed knowledge
├── scripts/ # optional reusable operations
├── assets/ # optional material copied or processed
└── tests/ # optional checks for reusable code and contractsCreate only SKILL.md at first. Add a folder only when real contents justify
it.
Read the relevant eval-engineering references before creating or updating
World knowledge. Ask what project-specific answer was required to apply the
broad method.
| Broad guidance | Useful project-specific adaptation |
|---|---|
| Preserve relationships needed for a decision | Exact project records and links that must stay together |
| Verify final state independently | Exact tables, files, APIs, or logs that prove effects |
| Simulate mutable services | Exact local service, operations, errors, and reset command |
| Generate prose from source facts | Project fact schema, generation method, review rules, and scripts |
| Accept valid alternatives | Known equivalent states or outputs for this project |
| Inspect complete trajectories | Exact project artifacts and service logs to correlate |
| Use real failure conditions | Project-specific failure families learned from traces |
| Prevent leakage | Project fields, endpoints, filenames, or fixtures that reveal truth |
Record the adaptation, not a copy of the broad paragraph.
Add a finding when it is:
Useful contents can include:
Keep these in the collocated Task.md instead:
Do not add generic guidance already clear in eval-engineering, unsupported
guesses, large copied documents without routing, or unrun scripts.
Create or update the World Skill while the first Task Spec takes shape. Do not build a large project encyclopedia from repository shape alone. Add the small set of supported facts and methods that help design the current Task and are likely to help later Tasks.
In the first user-facing design response, show these parts together in any clear structure:
Task.md.Revise the Task and World knowledge together with the human. During Task design, build, and audit, update reusable knowledge from:
Show the World Skill with the Task Spec and let the human revise both. A human can approve the Task while rejecting a proposed generalization. Treat a World Skill change as accepted only after human review. If the user asked for autonomous end-to-end updates without a pause, make only the smallest supported change and show it in the final review. Do not label that change as human-approved.
After the Task is audited, reconcile the skill. Keep supported reusable
knowledge, narrow or remove claims that the Task disproved, and keep Task-only
truth in Task.md. State the evidence, use in another Task, location, and
uncertainty in any clear structure.
Start from assets/world-skill/SKILL.md.template. Replace all template values
and delete unused sections. Use a short lowercase name ending in -world.
Write SKILL.md as a concise operating guide and router. Include:
Do not fill generic headings with vague project biography. A source or rule must help an agent create, build, or check a Task.
The project skill can say:
Read
$eval-engineeringfirst. Use its broad references and examples as guidance. Use this skill for reusable knowledge about how that guidance applies to this project.
Do not link to internal eval-engineering file paths from the project skill.
The general skill owns its own routing and can reorganize without breaking
project skills.
Keep always-needed rules and routing here. Prefer one concrete sentence over a category label. For example:
For Tasks that change a ticket, retain its customer, team, assigned user,
active assignment, comments, and status history.Create a reference when detailed knowledge is conditionally needed. Name it by
the real project topic, such as ticket-state.md, repository-setup.md, or
document-generation.md. Link it directly from the project SKILL.md and
state when to read it.
Choose reference names from real project topics. Do not create a fixed file taxonomy before concrete reusable content exists.
Add deterministic operations that would otherwise be rewritten or are easy to implement incorrectly. Document inputs, outputs, side effects, and what the script does not prove. Run the script and add focused tests.
Examples include creating a relationship-complete subset, validating a source bundle, or packaging a project-specific Task.
Add templates or static material intended for copying or processing. Do not use assets to hide instructions, expected answers, or Verifier logic from skill review.
Test reusable scripts and project contracts. Do not copy one runnable Task’s Verifier suite into the World Skill.
Use the project skill while creating materially different Tasks. After each Task, ask:
Revise the smallest useful resource. Remove competing guidance rather than keeping both versions.
Treat the project skill as ready for scale when several Tasks have exercised its important knowledge, shared construction and verification methods are clear, current coverage and gaps are visible, and known limits are stated. Do not require a fixed Task count or file count.
For Task Spec generation, use project knowledge to:
For Spec2Task implementation, use project knowledge to:
Keep reviewing generated Task Specs with the human. World knowledge improves generation but does not replace task-level judgment.
SKILL.md nor cited by the Task Spec.