ワンクリックで
qfai-configure
Analyze the repository and tune qfai.config.yaml (testFileGlobs, exclude globs, optional specSections).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyze the repository and tune qfai.config.yaml (testFileGlobs, exclude globs, optional specSections).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Triage incoming requirements against existing specs, then create or update layered SDD artifacts (_policies + spec-*) in one workflow.
Implement automated acceptance tests (E2E/API/Integration) aligned with US/TC/CON-API obligations from specs and contracts.
Run structured discussion that defines exploration conditions, evaluation rubric, and anti-goals for downstream prototyping.
Unified implementation skill that orchestrates the full TDD micro-cycle (Red/Green/Refactor) one test at a time using test-list.md as the execution ledger.
Iterate one prototype through up to 10 cycles of generate-capture-review against a frozen DESIGN.md, focusing on information architecture, navigation flow, usability, and functionality.
Run and document quality gates (repo + qfai validate/report), fix until PASS.
| name | qfai-configure |
| title | QFAI Configure (Tune qfai.config.yaml) |
| description | Analyze the repository and tune qfai.config.yaml (testFileGlobs, exclude globs, optional specSections). |
| argument-hint | [--auto] |
| allowed-tools | ["Read","Glob","Write","TodoWrite","Task"] |
| roles | ["orchestrator","delivery-planner","qa-strategist","devops-ci-engineer","completion-reviewer","qa-gatekeeper"] |
| routing-profile | runtime-heavy |
| mode | evidence-focused |
[DRIFT-PROTOCOL:MANDATORY]
Follow .qfai/assistant/constitution/shared-skill-operating-baseline.md#user-questions-askuserquestion-protocol.
Skill-specific examples:
Follow .qfai/assistant/constitution/shared-skill-operating-baseline.md#format-ssot-mandatory.
Before writing or editing any .qfai/** artifact, read the relevant skill-local reference or template:
.qfai/assistant/skills/qfai-discussion/references/discussion-artifact-rules.md.qfai/assistant/skills/qfai-sdd/references/spec-traceability-rules.md.qfai/assistant/skills/qfai-sdd/references/contract-artifact-rules.md.qfai/assistant/skills/qfai-prototyping/references/evidence-requirements.mdWhen unsure, read inputs in this order:
.qfai/assistant/constitution/*.qfai/assistant/manifest/* + .qfai/assistant/catalog/*.qfai/specs/<spec-id>/09_delta.md (Decision Records; if no spec yet, state "not applicable")scenario.feature / coverage ledgers)Follow .qfai/assistant/constitution/shared-skill-delegation-baseline.md.
Use the shared schema.
PASS or REVISE..qfai/assistant/constitution/shared-skill-delegation-baseline.md#reviewer-gate-baseline.qfai doctor --fail-on error completed without failing checks;.qfai/assistant/catalog/test-layers.md;.qfai/assistant/manifest/agent-routing.yml.completion-reviewerqa-gatekeeperPASS.Use the shared template.
Use the shared template.
Status (PASS/REVISE).Follow .qfai/assistant/constitution/shared-skill-operating-baseline.md#stage-0---steering-completion-refresh-mandatory.
TBD and record the gap in the evidence file.Follow .qfai/assistant/constitution/shared-skill-operating-baseline.md#delta-rejected-guard-mandatory.
qfai.config.yaml, .qfai/assistant/manifest/* + .qfai/assistant/catalog/*, and .qfai/evidence/configure-<run-id>.md unless explicitly asked..qfai/evidence/configure-<run-id>.md.
.qfai/evidence/ is intentionally NOT tracked by Git (it ships with a local .gitignore).Follow .qfai/assistant/constitution/shared-skill-operating-baseline.md#completion-contract-shared.
Follow .qfai/assistant/constitution/shared-skill-operating-baseline.md#gate-failure-autorepair-protocol for validate, doctor, and quality-gate failures.
Analyze the repository and update qfai.config.yaml so traceability checks are actionable, with a documented minimum runnable path.
Note: /qfai-sdd includes a preflight step that bootstraps missing config/steering when run directly after init.
/qfai-configure remains the recommended way to tune qfai.config.yaml early with a clean, minimal diff.
qfai.config.yaml is updated with a minimal diff focused on traceability globs.validation.traceability.testFileGlobs reflects the real test layout.validation.traceability.testFileExcludeGlobs is added only when needed.validation.require.specSections is updated with a minimal, evidence-based list.product.md, tech.md, structure.md, manifest.md) are filled or refreshed with evidence, or marked TBD when evidence is missing..qfai/evidence/configure-<run-id>.md.Create and update: .qfai/evidence/configure-<run-id>.md
Use <run-id> as a short date stamp (e.g., 2026-01-28) or a short slug for this run.
Evidence must include:
# Configure Evidence: <run-id>
## Objective
## Inputs reviewed (files/paths)
## Decisions made (with rationale)
## Work performed (what changed, where)
## Commands executed + key outputs
## Proposed globs
- include:
- exclude:
## Evidence samples (5-15)
## Tool selection (per layer)
## Minimum runnable path
## Files changed
- qfai.config.yaml:
- steering files:
## Gaps / Open risks
## Final status (PASS/FAIL) + who confirmed
These principles are inspired by "constitution / articles" patterns used by other agent frameworks, but tailored to QFAI.
SDD First (Specification is the source of truth)
If there is a conflict between code and spec, treat the spec as authoritative and either (a) fix code or (b) raise an explicit Open Question to change the spec.
Traceability is mandatory
Every meaningful change must be traceable: Require -> Spec -> Scenario -> Tests -> Code -> Verification evidence.
Evidence over confidence
Prefer observable proof (logs, commands, file diffs, test results). If you cannot verify, say so and record it.
Minimize scope, but never hide gaps
Keep changes minimal, but do not "paper over" missing decisions. If something blocks correctness, stop and ask.
Quality gates are the decision mechanism
Use tests/lint/typecheck/build/pack verification (whatever the repo defines) as the primary guardrail. Fix until PASS.
Make it runnable
Outputs must be executable in terminal/CI. Provide copy-paste commands.
User time is expensive
Ask only the questions that are truly blocking. Everything else: make reasonable assumptions and label them clearly.
Do not create .qfai/**/README.md files as scaffold or format documentation; keep artifact guidance in skill references/templates.
All outputs MUST be written in the user's working language for this session.
Use the platform's native sub-agent delegation mechanism for Claude Code, GitHub Copilot, and Codex.
Use .qfai/assistant/manifest/agent-routing.yml as the routing SSOT.
delivery-planner in the analysis phase.analysis (delivery-planner, qa-strategist) -> config (devops-ci-engineer) -> review (completion-reviewer, qa-gatekeeper).Role: delivery-planner
Task title: Analyze repo and propose testFileGlobs
Goal: Tune qfai.config.yaml with a minimal diff
Inputs:
- relevant steering and repo layout
Constraints:
- minimal diff
- evidence-first
Return:
- proposed globs + rationale + evidence refs
devops-ci-engineer) and completion approval (completion-reviewer) must be separate.qa-gatekeeper must confirm evidence sampling before approval.Every 5 major actions, pause and restate:
qfai.config.yaml, .qfai/assistant/manifest/* + .qfai/assistant/catalog/*, and .qfai/evidence/configure-<run-id>.md unless explicitly asked.**/*).node_modules, .git, .qfai, dist, build, coverage, .next, out, etc.).validation.require.specSections unchanged unless the user explicitly requests strict required headings.Read relevant project steering (if present):
.qfai/assistant/catalog/structure.md.qfai/assistant/catalog/tech.md.qfai/assistant/catalog/product.md.qfai/assistant/{manifest,catalog}/Read project constitution / instructions (if present):
.qfai/assistant/constitution/constitution.md.qfai/assistant/constitution/workflow.md (or equivalent)Inspect repo conventions:
Inspect steering templates and placeholders:
.qfai/assistant/catalog/product.md.qfai/assistant/catalog/tech.md.qfai/assistant/catalog/structure.md.qfai/assistant/catalog/manifest.mdBefore editing config, thoroughly analyze the current project:
*.test.*, *.spec.*, *_test.*, etc.)If analysis cannot be performed (missing access), clearly state what could not be verified and proceed with minimal-risk assumptions.
package.json and config files (e.g., vitest.config.*, jest.config.*, playwright.config.*, pytest.ini, go.mod).tests/, src/, e2e/, integration/).01_Spec.md files and list H2 headings used.Provide 3-10 include globs that cover all known test locations:
src/**/*.test.ts, tests/**/*.spec.ts).Provide exclude globs only when necessary (beyond the default exclusions).
Fill steering templates with repo evidence.
TBD and record what is missing.steering/manifest.md, explicitly record Evidence and Assumptions (if evidence is missing).qfai.config.yaml (minimal diff)Edit:
validation.traceability.testFileGlobsvalidation.traceability.testFileExcludeGlobs (only if needed)validation.require.specSections (only if explicitly requested)Keep all other config keys unchanged.
Sample 5-15 actual test files that match the proposed globs.
TBD.TBD).qfai.config.yaml updated (minimal diff).Provide:
qfai.config.yaml (diff or full file, as appropriate).Suggest next step: /qfai-discussion (or rerun /qfai-configure if configuration is not ready).
When you declare DONE, include:
When this skill is complete, provide a final user-facing completion message and enumerate all actionable next steps.
/qfai-discussion.
Action: run it to formalize requirements from the configured project context./qfai-discussion.
Action: collect missing scope, constraints, and assumptions first./qfai-configure.
Action: provide additional include/exclude evidence and update qfai.config.yaml.The skill collapses avoidable per-session prompts to 0-1 by classifying every decision into one of three named buckets:
package.json#version, branch pin)companyNameprimarySpecId (when absent from inputs)A skill MAY narrow the auto-decide bucket (drop entries) but MUST NOT widen it. Widening triggers a Reviewer-Gate finding.
project_memory:
qfai.config.yaml and the .qfai/assistant/manifest/ declarative manifests; edits to those files MUST go through this skill so the agent-catalog / agent-routing / review-profiles SSOTs stay consistent.qfai.config.yaml directly when the skill is available.