src/skills/x-internal-create-feature/SKILL.md
Materializes the feature container artifact (feature-<ID>.md) from an existing Feature/spec source. Internal skill invoked by x-refine-feature Phase E.
npx skillsauth add edercnj/claude-environment x-internal-create-featureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
🔒 INTERNAL SKILL — Invocada apenas por outras skills via Skill tool. Não é invocável pelo usuário diretamente. Ponto de entrada:
x-refine-feature(Phase E, pós-aprovação).
Materialize the feature container markdown artifact (feature-<ID>.md) from an existing Feature/spec source. This internal skill preserves Source Feature, inherits RNFs from the Product / Capability / Feature chain, and derives sections 2, 4, and 8 from the Feature source — these sections are never omitted because x-refine-feature requires them for approval (dimensions: persona, alternatives, quality-strategy).
Fluxo obrigatório: Esta skill é invocada automaticamente por
x-refine-featureapós aprovação do refinamento da feature. Não deve ser invocada manualmente pelo usuário.
x-refine-feature Phase E when verdict == "approved"Read before starting:
src/templates/_TEMPLATE-FEATURE.mdsrc/knowledge/shared/governance-baselines/planning-standards-ra9/knowledge.md — knowledge pack planning-standards-ra9, mandatory RA9 source of truthIf the feature source cannot be resolved, stop with a validation error.
--from-feature:
.aikittools/**.--capability-file and --product-file to enrich RNF inheritance.4 digits, default 0001)..aikittools/features/feature-<ID>-<slug>/feature-<ID>.md.## 2, ## 4, ## 8 are
derived from the Feature source — never omit them; x-refine-feature will reject the
feature if any of these dimensions is absent:
Source Feature, Source Feature Link, ## 0.6 Inherited RNFs## 1, ## 3, ## 5, ## 6, ## 7, ## 9## 2 (Persona & Stakeholders): derive from the Feature's target user segments.
x-refine-feature dimension persona requires ≥ 2 distinguishable roles — do not leave blank.## 4 (Alternativas Consideradas): derive ≥ 2 alternatives from the Feature's
alternatives section with rejection rationale (Decisão de rejeição:).
x-refine-feature dimension alternatives requires ≥ 2 documented alternatives.## 8 (Quality Gates): derive DoR/DoD from the Feature's acceptance criteria and
quality requirements. x-refine-feature dimension quality-strategy requires at least one
feature-level Done criterion (e.g., coverage target, mandatory test types).| Parameter | Required | Description |
| :--- | :--- | :--- |
| --from-feature <feature-file\|feature-id> | Yes | Feature markdown source |
| --capability-file <path> | No | Capability markdown used to enrich inherited RNFs |
| --product-file <path> | No | Product markdown used to extend inherited RNFs |
| --feature-id <NNNN> | No | Feature identifier (default 0001) |
| --output-dir <path> | No | Base output dir (default .aikittools/features) |
| --dry-run | No | Validate inputs without writing files |
| --no-commit | No | Skip commit (caller owns commit boundary) |
x-refine-feature (Phase E — post-approval feature container creation).x-create-feature (Mode B — spec-driven decomposition).x-refine-feature validates the generated container's mandatory dimensions (persona, alternatives, quality-strategy).Value-Driven Templates — Referência Consolidada: Define a separação entre valor e arquitetura e orienta a geração da feature no formato v2.
development
Documentation freshness gate: validates 6 dimensions (readme, api, adr, etc.) per PR.
testing
Conditional dep-policy gate: CVEs, licenses, versions, freshness; SARIF + report.
documentation
Incrementally updates the service or system architecture document; never regenerative.
development
Scans code and git history for leaked credentials, API keys, and tokens; SARIF output.