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.
development
Runs kramme:pr:code-review as a closeout review loop for local or PR branch changes before commit, ship, or final response. Use when the user asks for autoreview, second-model review, or a final code-review pass after non-trivial edits. Not for UX, visual, accessibility, or product review.
development
Guides topic-level understanding verification for a PR, branch, feature, document, spec, design decision, bug fix, or other concrete subject. Use when the user asks to confirm, quiz, drill, teach-and-check, or verify that they understand a topic. Maintains a topic-specific checklist artifact and requires demonstrated understanding before marking the topic complete. Not for ordinary explanations without verification, end-of-session summaries, or code/test correctness checks.
testing
Design a CI/CD pipeline with quality gates, a <10-minute budget, feature-flag lifecycle, and an exit checklist. Use when adding a new CI pipeline, changing gate configuration, or planning a rollout for a new service. Complementary to kramme:pr:fix-ci (which fixes failures in an existing pipeline). Covers gate ordering, secrets storage, branch protection, rollback mechanism, and staged-rollout guardrails — not a rollout-execution runbook.
tools
--- name: kramme:visual:demo-reel description: Capture local demo evidence for observable product behavior: screenshots, before/after image sets, browser reels, terminal recordings, and short GIF/video proof. Use when shipping UI changes, CLI features, or any change where PR reviewers would benefit from visual or behavioral evidence. argument-hint: "[what to capture] [--url <url>|auto] [--tier static|before-after|browser-reel|terminal-recording]" disable-model-invocation: true user-invocable: tr