requirement-interviewer
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "requirement-interviewer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-007eefdbdca728f4cf28008d04afd718fb1e9f42fc23542c91531d6d5de513f2. Verify the upstream source and version against https://github.com/ceilf6/FrontAgent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Requirement interviewer: collect missing product, UX, technical, and delivery constraints before planning or coding. Suitable when requirements are incomplete, multiple implementation options exist, frontend work needs clear acceptance criteria, or an agent must ask structured questions before acting.
Introduction source: third_party · ceilf6 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Gather missing product, UX, technical, and delivery constraints before planning or coding. Use when a request is underspecified, when several implementations are plausible, when frontend work needs explicit acceptance criteria, or when the agent must ask structured questions before acting.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Collect missing constraints through phased questioning. Refuse to plan, code, or propose irreversible implementation details until the required answers are complete.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: requirement-interviewer
description: Gather missing product, UX, technical, and delivery constraints before planning or coding. Use when a request is underspecified, when several implementations are plausible, when frontend work needs explicit acceptance criteria, or when the agent must ask structured questions before acting.
triggers:
keywords:
- "clarify requirements"
- "requirements interview"
- "ask questions first"
- "need requirements"
- "需求澄清"
- "先问问题"
- "先澄清"
- "采访需求"Requirement Interviewer
Collect missing constraints through phased questioning. Refuse to plan, code, or propose irreversible implementation details until the required answers are complete.
Workflow
- Read
references/question-flow.md. - Ask only the next unanswered question cluster, not the whole interview at once.
- Read
references/answer-completeness.mdto decide whether the reply is sufficient or needs follow-up. - Read
references/gating-rules.mdbefore moving from clarification into planning. - After each phase, summarize confirmed facts, explicit assumptions, and open questions.
- Only when all mandatory gates pass, hand off a concise, execution-ready brief or plan.
Interview Contract
- Ask 1-3 short questions at a time.
- Prefer constrained choices when possible.
- Keep questions ordered: objective first, implementation later.
- If the user says "you decide", record the default explicitly as an assumption.
- Separate confirmed requirements from inferred assumptions.
Guardrails
- Do not generate code, file edits, or architecture proposals before gates pass.
- Do not ask duplicate questions.
- Do not jump into low-level implementation details before product intent is clear.
- Do not silently fill critical gaps with guesses.
- Stop and ask for explicit approval when the decision changes scope, cost, or stack direction.
Version history
-
v2.2.0
GitHub ↗
Original release notes
# FrontAgent v2.2.0 FrontAgent v2.2.0 is a minor release after v2.1.1. It ships the new Electron desktop client, headless non-interactive CLI mode, session resume, lifecycle hooks, declarative permission rules, context zone budgets, the `@frontagent/mcp-web-fetch` adapter, a reproducible SDD ablation evaluation framework, and a set of correctness and security fixes across the CLI entry path, the hallucination guard, and the LLM provider layer. ## Highlights - New Electron desktop client with a typed IPC contract, Task Console + Settings UI, accessibility semantics, and multi-platform zip archives attached to GitHub Releases. - Headless non-interactive CLI mode with a validated JSON output contract exposing artifacts and security denials. - Session resume with schema-validated session records and cross-step file context hydration. - Lifecycle hooks with explicit project-hook opt-in and hardened hook plumbing. - Declarative permission rules and context zone budgets on the core execution path. - Reproducible SDD ablation benchmark: frozen 30-task set, two-arm orchestrator, machine-checkable acceptance, published negative findings with reproduction guide. - Global `fa` bin invocations work again (symlinked entry-path fix), and `hallucinationGuard.checks` is genuinely honored on the executor path without weakening the project-root security boundary. ## Added - **Desktop client**: typed IPC contract + execution reducer, Task Console and Settings renderer (React + Vite), main-process runtime bridge + settings store, IPC-failure degraded states, ARIA live regions and navigation semantics, electron-builder packaging publishing multi-platform zips to GitHub Releases, and desktop documentation. - **Headless CLI**: `--output` validation, artifacts and security denials in the JSON payload, stdout interception during JSON runs, top-level error classification. - **Session resume**: full step schema, order-independent resume unlock, cross-step file context hydration, session records validated on load. - **Lifecycle hooks**: explicit opt-in for project hooks, per-tool outcome observation in postToolUse, log-callback failure isolation. - **Permissions**: declarative permission rules; in-session derived allow rules with literal-wildcard escaping; bare tool rules never derived from always-allow approvals. - **Context**: zone budgets with guaranteed postconditions and a single compaction summary; AGENTS.md project instructions with byte-capped reads. - **MCP**: `@frontagent/mcp-web-fetch` adapter package wired into the agent registry and planner. - **Prompts**: external-knowledge, security-engineering, and code-minimalism disciplines in codegen/planner; security review dimension in the code-quality sub-agent. - **Evaluation**: frozen 30-task ablation set, typecheck-clean fixture project, two-arm orchestrator with resume, acceptance check runner, results report and reproduction guide. - **Docs**: verifiable npm downloads counter with daily refresh. ## Fixed - **CLI entry**: global bin symlinks (`fa` via npm/pnpm/homebrew) no longer exit silently; the direct-entry guard resolves the symlinked argv path. (#396) - **Hallucination guard**: `hallucinationGuard.checks` is honored by `validateFilePath` / `validateCode` on the executor path; project-root containment remains enforced when `fileExistence` is disabled. (#386) - **LLM provider**: AI SDK migrated to the v5 line (clears GHSA-rwvc-j5jr-mgvh); OpenAI provider pinned to Chat Completions for OpenAI-compatible base URLs. - **Planner**: `web_fetch` actions preserved in generated plans. - **Agent**: dependency recovery uses the project package manager. - **Desktop**: default-workspace setting takes effect; telemetry auto-scroll only at bottom; no demo content in TaskComposer; settings saves announced to assistive tech. - **Runtime**: session ids constrained to the sessions dir with atomic writes; real taskId on failed taskComplete hooks; win32 process-tree kill. - **Workflow gates**: workflow-rules test accepts the vars-based self-hosted Repo Guard runner. (#397) ## Changed - **CI**: Repo Guard on a self-hosted Claude Code engine with allowlisted fork actors under `pull_request_target`; catch-all CODEOWNERS; OpenRouter provider order passthrough. - **Dependencies**: ts-morph ^28; AI SDK v5 line. ## Known Issues - `hallucinationGuard.enabled` is still dead config on the agent path; only `checks` is consulted. Tracked in #400. ## Verification - `pnpm quality:precommit` (lint, typecheck, workspace tests, workflow rules) green at release. - CLI symlink invocation verified against the packaged bundle (`fa --version` via a bin symlink). ## Compatibility - CLI package version: `[email protected]`. - VS Code extension version: `[email protected]`. - Node.js requirement: `>=20.0.0`. - VS Code requirement: `^1.120.0`.
-
v2.1.1
GitHub ↗
Original release notes
# FrontAgent v2.1.1 FrontAgent v2.1.1 is a patch release after v2.1.0. It focuses on maintainability, security hardening, workflow reliability, and test coverage across the agent execution path, Filesense, hybrid RAG, memory persistence, runtime MCP handling, and the VS Code webview. ## Highlights - Decomposed the core agent and executor orchestration paths into smaller, focused helpers. - Split Filesense engine responsibilities for helpers, indexing, notes, query, and schema orchestration. - Extracted memory persistence writers and preload/recall helpers. - Extracted semantic search orchestration from the hybrid RAG knowledge-base path. - Hardened VS Code webview nonce generation and split webview renderers. - Restored and hardened local GitNexus contract gates and worktree bootstrap checks. - Expanded focused unit coverage across CLI, runtime MCP, executor, agent, context, Filesense, memory, RAG, and VS Code webview behavior. ## Changed - **Executor orchestration**: Tool-call handling, validation skip handling, progress enforcement, step feedback, and step trace recording now live in focused modules. This keeps execution behavior stable while reducing the size of the central executor implementation. - **Agent orchestration**: Context gathering, facts update flushing, project prescan preparation, task execution setup, and execution callback wiring were extracted from the main FrontAgent flow. - **Context management**: Fact serialization, facts merging, filesystem fact updates, and module dependency graph updates were split out of `ContextManager`. - **Planner phases**: Planner phase helper logic was split into dedicated modules with additional tests. - **Filesense engine**: Engine helper logic, index persistence, notes generation, query result handling, and schema orchestration were separated into focused modules. - **Memory store**: Memory preload/recall behavior and persistence writer behavior were extracted from `MemoryStore`. - **Hybrid RAG**: Semantic search orchestration was extracted from the knowledge-base implementation. - **Runtime MCP**: MCP task invocation setup was split from the runtime MCP server handler path. - **VS Code extension**: Webview body, script, style, and template rendering were decomposed into smaller helpers. - **Code quality subagent**: Prompt policy logic was split into a dedicated helper. - **Tooling**: The temporary GitNexus release-candidate patch was removed and the Biome schema version was aligned. ## Fixed - **VS Code security**: Hardened webview nonce generation. - **Filesense query**: Preserved relative path semantics in query results. - **Filesense notes**: Preserved notes schema path ownership. - **Workflow contracts**: Restored the local GitNexus contract gate. - **Bootstrap checks**: Resolved relative core worktree paths and guarded bootstrap against mismatched worktrees. ## Tests - Added focused CLI command router coverage. - Added runtime MCP contract tests and schema assertion coverage. - Added hybrid RAG knowledge-base coverage. - Added executor tests for validation skipping, progress enforcement, step feedback, tool-call handling, and trace recording. - Added agent tests for context gathering, facts flushing, project prescan preparation, execution callbacks, and task execution setup. - Added ContextManager tests for fact serialization, facts merging, filesystem fact updates, and module dependency graph behavior. - Added Filesense tests for engine helpers, indexing persistence writes, notes generation, query behavior, and schema orchestration. - Added memory tests for preload/recall helpers and persistence writers. - Added VS Code webview tests for body, script, style, and template renderer extraction. - Cleaned Biome warnings in executor, shared utility, and LLM service tests. ## Dependencies - Updated production dependency lockfile entries from the Dependabot production dependency group. ## Compatibility - CLI package version: `[email protected]`. - VS Code extension version: `[email protected]`. - Node.js requirement: `>=20.0.0`. - VS Code requirement: `^1.120.0`.
-
v2.1.0
GitHub ↗
Original release notes
# FrontAgent v2.1.0 FrontAgent v2.1.0 is a minor release after v2.0.0. It adds Open Memory Gateway integration, publishes the OSS Harness workflow assets, expands test coverage across core runtime paths, and tightens CI, dependency, and maintainer workflow checks. ## Highlights - Added opt-in Open Memory Gateway integration for managed long-term memory. - Added OSS Harness assets for contributions, PR review, GitNexus contracts, local hooks, and repository workflow checks. - Expanded focused unit coverage for FrontAgent, Executor, PhaseRunner, ContextManager, LLM service, planner, memory, security, SDD workflow, mcp-filesense, and workflow rules. - Upgraded the development and runtime dependency set, including Biome 2.x, TypeScript 6.x, Vitest 4.x, Playwright 1.60.x, Turbo 2.9.x, AI SDK, MCP SDK, and LangChain-related packages. - Updated CI to run the full quality gate on Node 20 and Node 22 with one aggregate status check. - Packaged the VS Code extension as `frontagent-2.1.0.vsix`. ## Added - **Open Memory Gateway**: FrontAgent can now use an opt-in Gateway adapter to write Gateway-compatible Markdown memories, keep draft and active memories separate, and recall active memories while retaining the existing `.frontagent/memory` fallback path. - **OSS Harness**: Added contributor guidance, workflow documentation, GitNexus knowledge contracts, CODEOWNERS, issue templates, PR template, git hooks, and workflow rule tests. - **Local workflow scripts**: Added `agent:bootstrap`, `quality:predev`, `quality:precommit`, `quality:ci`, `quality:local`, `contract:*`, and `test:workflows`. - **Dependency maintenance**: Added `.env.example` and Dependabot configuration. ## Changed - Extracted `PhaseRunner` from `Executor` and step callback handling from `FrontAgent`. - Split Skill Lab behavior benchmarking, trigger benchmarking, improvement, reporting, and scaffolding into focused modules. - Introduced structured logging and migrated core debug output to shared logger utilities. - Tightened source type safety with stricter `noExplicitAny` coverage. - Raised the VS Code extension engine requirement to `^1.120.0`. ## Fixed - Patched high-severity dependency vulnerabilities through dependency upgrades and pnpm overrides. - Fixed Biome formatting and stricter typing failures introduced by merged test and Skill Lab changes. - Unified Node 20 and Node 22 CI matrix results under a single aggregate CI status. ## Test And CI - Added broad focused unit coverage for core, memory, planner, security, executor, LLM, ContextManager, mcp-filesense, SDD, shared logger, and workflow rules. - Added Contract Guard for PRs targeting `develop`. - Added Repo Guard workflow support for PR, issue, and issue-comment review paths with fork and actor safeguards. - Upgraded GitHub Actions dependencies to `actions/checkout@v6`, `actions/setup-node@v6`, and `pnpm/action-setup@v6`. ## Compatibility - CLI package version: `[email protected]`. - VS Code extension version: `[email protected]`. - Node.js requirement: `>=20.0.0`. - VS Code requirement: `^1.120.0`.
-
v2.0.0
GitHub ↗
Original release notes
## Highlights - **Architecture Refactoring**: All large monolithic source files decomposed into focused, single-responsibility modules - **565 Unit Tests**: Coverage increased from near-zero across the monorepo - **Biome**: Project-wide linter and formatter replacing ad-hoc ESLint configs - **Performance**: Lazy-load ts-morph (~400ms cold-start savings), async file I/O in RAG modules, 2MB bundle reduction - **Type Safety**: Eliminated all `as any` assertions across CLI, shared, and core packages ## Breaking Changes - Internal module paths changed due to refactoring. Public API from each package's `index.ts` remains unchanged. - Minimum Node.js version is now 18+. See [CHANGELOG.md](./CHANGELOG.md) for full details.
-
v1.0.9
GitHub ↗
Original release notes
## Bug Fixes - **mcp-shell**: Enforced the `timeout` parameter that was previously accepted but never used, preventing runaway commands from hanging indefinitely (default 60s with SIGTERM/SIGKILL escalation) - **mcp-shell**: Added a 10MB output size cap to prevent OOM when commands produce excessive stdout/stderr - **shared**: Fixed `matchGlob` to escape regex metacharacters (`.`, `(`, `)`, `[`, `]`, `+`, `{`, `}`) before glob-to-regex conversion — previously `src/utils.ts` would incorrectly match `src/utilsXts` - **shared**: Fixed `deepMerge` to skip `undefined` source values instead of overwriting existing target values - **mcp-file**: Fixed `isRegularFile` and `isDirectory` to return `false` for non-existent paths instead of throwing `ENOENT` ## Improvements - **shared**: Extracted `DEFAULT_LLM_TEMPERATURE` (0.2) and `DEFAULT_LLM_MAX_TOKENS` (4096) as shared constants, fixing inconsistent model behavior between CLI (0.2) and runtime-node (0.7) ## Install ```bash npm install -g [email protected] ``` **Full Changelog**: https://github.com/ceilf6/FrontAgent/compare/v1.0.8...v1.0.9
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 聚焦需求澄清核心痛点,适用于产品、UX、技术、交付多维度约束收集
- 解决开发前期需求不完整、多方案选择等高频场景,实用价值高
Highlights
- 触发词覆盖中英文关键词,边界清晰,覆盖合理
Areas to improve
-
缺少 When to Use/示例章节 Reported severity: Minor
文档结构完整但缺少显式的 When to Use 章节和端到端完整示例
Recommendation: 建议补充 When to Use 显式章节和端到端完整示例,提升用户理解
Highlights
- Workflow 步骤清晰,包含 Interview Contract 和 Guardrails 行为准则
Areas to improve
-
引用文件缺失 Reported severity: Major
Workflow 中引用了 references/question-flow.md、references/answer-completeness.md、references/gating-rules.md 三个文件,但传入内容中未提供
Recommendation: 请补充所有被引用的 references 文件,确保执行流程完整可靠
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Collect missing constraints through phased questioning. Refuse to plan, code, or propose irreversible implementation details until the required answers are complete.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.