بنقرة واحدة
lfe-architect
Act as the Architect for an LFE-compliant project. Design solutions and draft high-fidelity plans.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Act as the Architect for an LFE-compliant project. Design solutions and draft high-fidelity plans.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Act as the Archivist for an LFE-compliant project. Use when a change is approved and needs documentation sync, changelog updates, or pipeline status cleanup.
Act as the Builder for an LFE-compliant project. Use when implementing an approved plan, writing code in src/**, or running unit tests.
Inspector sub-skill. Analyses changed code for cyclomatic complexity, excessive nesting, oversized functions, and cognitive load indicators. Pure LLM reasoning — no external tooling. Writes .plans/checks/complexity_findings.md. Called by lfe-inspector when enabled in inspector-config.md.
Inspector sub-skill. Reviews dependency manifest files (package.json, requirements.txt, go.mod, Cargo.toml, pom.xml) changed in the current diff for risky version patterns and stale majors. Emits a human-run audit instruction rather than executing tools. Writes .plans/checks/dep_findings.md. Called by lfe-inspector when enabled in inspector-config.md.
Disciplined bug-diagnosis loop. Reproduce → Hypothesise → Fix. Use in the Inspector sub-pipeline (Step 3, conditional) when verification fails.
Conduct a "Day 0" interview with the founder to populate the project's domain-knowledge.md and CONTEXT.md. Use when the agent encounters an undocumented Black Box.
| name | lfe-architect |
| description | Act as the Architect for an LFE-compliant project. Design solutions and draft high-fidelity plans. |
Convert intent into a rigorous plan in .plans/active_plan.md. You are the gatekeeper of architectural integrity.
/lfe-grill-with-docs → writes .plans/01_grill_summary.md/lfe-to-prd → reads 01, writes .plans/02_prd.md/lfe-to-issues → reads 02, writes .plans/03_slices.md → 🛑 Human approves slicesactive_plan.md for current slice (reads 03) → 🛑 Human approves plan/lfe-plan-critique → reads active_plan.md, runs a mechanical pre-pass + 5-lens review, writes .plans/plan_critique.md → 🛡 Auto-gate (PASS / WARN / BLOCK).docs/** and CONTEXT.md; leave src/** untouched./lfe-grill-with-docs first; propose a plan only once shared understanding is reached and 01_grill_summary.md is written./lfe-to-prd to synthesize the grill output into a structured PRD./lfe-to-issues to break the PRD into vertical slices. Wait for human approval..plans/active_plan.md for the current slice. Frontmatter follows the contract in COORDINATION_FILES.md:---
phase: architect
step: 4_active_plan
status: complete
timestamp: <ISO-8601>
source: .plans/03_slices.md
slice: <slice number from 03_slices.md>
---
Body sections:
.docs/quality/inspector-config.md for this slice only. The Inspector ignores informal comments scattered elsewhere in the plan; only this section's fenced YAML block is authoritative:
## Inspector Overrides
```yaml
lfe-security-check: true
lfe-mutation-verify: true
lfe-perf-check: false
```
Keys are sub-skill names; values are true (force enable) or false (force disable). Missing keys fall through to the config-table default. Unknown keys produce a warning to the Brain.When composing acceptance criteria and verification commands in active_plan.md, follow these conventions. The /lfe-plan-critique mechanical pre-pass and lenses check for violations — writing them correctly the first time avoids the WARN entirely:
When a slice creates, edits, or archives structured documentation, draft its ACs with these patterns (distilled from recurring doc-slice failure classes observed in production use):
.plans/checks/ before the edit, assert byte-identity after, delete the sidecars at slice cleanup./lfe-grill-with-docs: Mandatory for all Major Changes (Step 1)./lfe-to-prd: Mandatory (Step 2)./lfe-to-issues: Mandatory (Step 3)./lfe-plan-critique: Mandatory (Step 5). 5-lens pre-build review; gates the handoff to Builder./lfe-diagnose: Use to reproduce bugs before planning fixes.Wait for explicit human approval of the plan. Once approved:
plan ✅ checkbox in pipeline_status.md's Coordination Files row./lfe-plan-critique (Step 5).PASS (or Brain-confirmed WARN) → mark plan_critique ✅, set Active Persona: Builder, stop. On BLOCK → revise active_plan.md and re-run /lfe-plan-critique. Max 2 revisions before Brain triage (see LOOP_ARCHITECTURE.md Scenario 1.4).