kramme-cc-workflow/skills/kramme:docs:add-greenfield-policy/SKILL.md
Add the Hard-Cut Greenfield Policy section to AGENTS.md or CLAUDE.md. Use when setting up a new greenfield project or adding the no-compatibility-code policy to an existing project. Not for editing or customizing the policy after it has been added.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:docs:add-greenfield-policyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Add the Hard-Cut Greenfield Policy section to the project's agent instructions file, placing it where agents will naturally find policy guidance. This policy establishes a default stance of deleting old-state compatibility code rather than carrying it forward.
Confirm the project is greenfield — This policy asserts the application has no external installed user base. Only proceed when that is true (a new project, or one with no released users). If the project already has users, stop and report that the policy does not apply.
Locate target file — Run from the project root so the lookups below resolve the correct files. Determine where to add the policy using this priority order:
AGENTS.md exists in the project root, use it.AGENTS.md does not exist but CLAUDE.md does, use CLAUDE.md.AGENTS.md in the project root.ls -la AGENTS.md CLAUDE.md 2> /dev/null
Check for existing section — Read the target file and search for the heading ## Hard-Cut Greenfield Policy. If the section already exists, report that the policy is already present and stop. Do not duplicate it.
Respect existing instruction structure — If the target file has a policy or conventions section, place the policy where an agent would naturally find it. Otherwise append the policy section to the end of the target file. Keep the section short; link to detailed docs rather than inlining them.
Add the policy section — Add the following block. Include a blank line before the heading and a trailing newline after the block so it stays cleanly separated from surrounding content.
## Hard-Cut Greenfield Policy
- This application currently has no external installed user base; optimize for one canonical current-state implementation, not compatibility with historical local states.
- Do not preserve or introduce compatibility bridges, migration shims, fallback paths, compat adapters, or dual behavior for old local states unless the user explicitly asks for that support.
- Prefer:
- one canonical current-state codepath
- fail-fast diagnostics
- explicit recovery steps
- Over:
- automatic migration
- compatibility glue
- silent fallbacks
- "temporary" second paths
- If temporary migration or compatibility code is introduced for debugging or a narrowly scoped transition, it must be called out in the same diff with:
- why it exists
- why the canonical path is insufficient
- exact deletion criteria
- the issue/ticket that tracks its removal
- Default stance across the app: delete old-state compatibility code rather than carrying it forward.
- Remove this section once the application has external users — it asserts a no-user-base premise that stops being true at that point.
Retirement of the section is manual: no tooling removes it, so when the application gains external users the team deletes the section by hand per its own retirement line.
Confirm result — Report which file was modified (or created) and that the Hard-Cut Greenfield Policy section was added successfully.
tools
Requires Linear MCP. Implements one Linear issue end to end, selects applicable code-review, convention, and PR-refactor gates, runs them to bounded convergence, verifies, and optionally opens the PR and iterates on CI and review feedback until green. Use when the user wants a single Linear issue taken from implementation through a clean Pull Request. Not for implementation-only work, SIW-tracked issues, stacked PRs, existing PR updates, or post-merge rollout.
development
Reviews PR and local changes for convention drift and overcaution against documented rules and mined peer-file practice. Use for new patterns, dependencies, abstractions, or defensive complexity that departs from established practice; every finding cites evidence. Supports --inline. Not for general code quality (use kramme:pr:code-review) or spec review (use kramme:siw:spec-audit --team).
testing
Charts huge or foggy initiatives into a local `.context` decision map and resolves one typed frontier ticket per session until the work is ready for SIW or another execution workflow. Use when the route to a destination cannot fit in one agent session or parallel workspaces need coordinated planning state. Not for clear specs, ordinary issue decomposition, implementation, or Linear-native tracking.
development
Investigates a question against primary sources and saves one cited Markdown artifact. Use for reading legwork: official docs/API facts, source-code or spec checks, standards, and first-party service behavior before planning or implementation. Not for making product or architecture decisions, implementing code, broad web search, secondary blog summaries, or uncited answers.