add-method
Skill1 starsChanged 6 days agoApache-2.0View on GitHub
End-to-end checklist for adding a valuation method to the Fairmark engine (core, registry, schemas, Python, docs, tests). Use when implementing a new method id.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- huggingface/paperswithcodetheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- huggingface/paperswithcode★ 315same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- adr-newSkill
- commitSkill
- explain-changesSkill
- fix-ciSkill
- golden-caseSkill
- implement-specSkill
- onboardingSkill
- plan-sprintSkill
- pre-prSkill
- pr-triageSkill
- releaseSkill
- roadmap-updateSkill
- run-sprintSkill
- session-endSkill
- session-startSkill
- spec-newSkill
- translateSkill
- add-methodSkill
- adr-newSkill
- commitSkill
- explain-changesSkill
- fix-ciSkill
- golden-caseSkill
- implement-specSkill
- onboardingSkill
- plan-sprintSkill
- pre-prSkill
- pr-triageSkill
- releaseSkill
- roadmap-updateSkill
- run-sprintSkill
- session-endSkill
- session-startSkill
- spec-newSkill
- translateSkill
- fairmarkSkill
The file
Files
- Confirm an
Approvedspec exists and identify its method id (area.name). - Golden cases first:
/golden-casefor each acceptance criterion with numbers. - Core (
crates/fairmark-core/src/<area>.rs):<Name>InputwithSerialize, Deserialize, JsonSchema,#[serde(deny_unknown_fields)], doc comment on every field with units; optional fields use#[serde(default)]and the default is documented.<Name>OutputwithSerialize, JsonSchema.pub fn <name>(input: &<Name>Input) -> Result<(<Name>Output, Explain)>using the checked helpers ofcrate::num; every visible number is an explain step; conventions listed.- A unit type
pub struct <Name>;implementingMethod(id<theme>.<name>, version "1", title, description,compute) in the same module (ADR 0009). - Unit tests for edge cases and errors.
- Registry (
registry.rs): add one line,<theme>::<Name>, to theregistry!list, in its theme group. Contract cases:tests/contracts/<id>.yamlwith at least one extreme input and one conventions case (crates/fairmark-core/tests/contracts.rsfails without them). uv run just generate: writesschemas/<id>/v<N>.json, updatesschemas/index.json(introduced_in: unreleaseduntil the next release) and the methods reference. Never edit an earlier version file. Version rule: if the method already exists onmainat version N, any numerical change or breaking input change makes it N+1 in this PR, once (several changes in one PR share the bump); CI refuses a breaking change to version N.- Python: thin helper in
python/fairmark/<area>.py, exported in__init__.py. - Docs:
docs/en/methods/<id>.md(viadocs-writer), nav entry inzensical.toml, row indocs/en/methods/index.md(method and what it computes; the status block is generated);python scripts/docs_sync.py coveragemust pass. uv run just check, thencode-reviewerandnumerical-auditor.- Status: a new method is
preview(ADR 0012). Add its id to the spec's entry inspecs/method-evidence.yaml. Promotion toavailableis a separate, maintainer-approved change: one line inAVAILABLE(registry.rs) once the rule indocs/en/project/releases.md("Method status") holds;python scripts/method_status.py checkverifies it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

