AgentStack
SKILL verified MIT Self-run

Fp Semantic Architecture

skill-miaoy0ushan-fp-semantic-architecture · by MiaoY0uShan

Use only when routed by FP after delete-scope and only when the scoped MVP crosses modules or has real coupling risk.

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-miaoy0ushan-fp-semantic-architecture

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-miaoy0ushan-fp-semantic-architecture)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
yesterday

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Fp Semantic Architecture? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

FP: Semantic Architecture

Create a lightweight architecture sketch after MVP scope is deleted.

This skill turns a scoped MVP into a small module map so the agent can build the MVP first and avoid accidental coupling.

Do not write code while using this skill.

Use when

Use this skill after delete-scope when:

  • The task describes a project, system, new feature, refactor, workflow, or automation.
  • The work may span multiple modules, files, skills, templates, or docs.
  • The MVP nucleus is clear but module boundaries are not obvious.
  • Scope could expand quickly.
  • Coupling risk matters.
  • The agent is tempted to plan implementation without first identifying module boundaries.

Do not use this skill for:

  • typo fixes,
  • small documentation edits,
  • obvious one-file changes,
  • narrowly scoped bug fixes with clear files and checks.

Goal

Produce a concise semantic architecture report that defines:

  1. the project goal,
  2. the smallest MVP slice,
  3. the main modules,
  4. module relationships,
  5. high-coupling risks,
  6. decoupling rules,
  7. MVP-first build order,
  8. deferred modules,
  9. the recommended next FP step.

This skill is for planning and context reduction. It is not a graph database, automatic repository indexer, diagram engine, or runtime.

Core principle

Architecture is useful only if it helps the agent do less.

The report should make the next task smaller, safer, and easier to verify.

Inputs

Use available context from:

  • the user request,
  • delete-scope output,
  • stated goal,
  • likely real goal,
  • success criteria,
  • non-goals,
  • failure paths,
  • known project structure if provided.

If project structure is unknown, first perform the smallest bounded local read-only discovery needed to identify the relevant files, modules, or runtime facts. Infer only non-blocking details and label them as assumptions.

  • If the missing fact is current, versioned, or external, load templates/context-retrieval-contract.md.
  • If the gap is a user-owned product or policy decision, return Decision: ask_user and ask only that blocking question.
  • Do not use reusable pattern memory as a substitute for task-local discovery.
  • When module mapping reveals recurring patterns, check the memory graph (node fp/contracts/memory-graph.js cluster ) for relevant schema or lesson cards that may inform architecture decisions. Load templates/memory-graph-traversal.md for cluster retrieval protocol.

Procedure

1. Restate the clarified goal

Use the MVP nucleus from delete-scope if available.

Scoped MVP:
...

2. Define the MVP slice

Identify the smallest useful version that proves the goal.

Ask:

If only 20% can be built now, what proves this is worth continuing?

Output:

MVP slice:
...

The MVP slice must be smaller than the full idea.

3. Identify modules

List only the modules relevant to the MVP and immediate architecture decision.

For each module, include:

- name:
  purpose:
  owns:
  should not own:
  status: MVP | later | avoid

A module may be a code area, skill, template, document, state artifact, or workflow step.

4. Map relationships

Describe relationships in plain text.

Use directional dependencies:

A -> B: reason

Prefer simple relationships:

  • produces
  • consumes
  • validates
  • informs
  • should not depend on
  • optional input

Do not invent a complex graph schema.

5. Draw a lightweight diagram

Use ASCII or Mermaid-style text if helpful.

Keep it small enough to scan.

Example:

[question-requirements]
  -> [delete-scope]
  -> [semantic-architecture]
  -> [optimize-path]
  -> [execution-brief]

[execution-result]
  -> [evidence-ledger]
  -> [adaptive-improvement, only when ledger evidence supports a reusable change]

6. Identify coupling risks

Ask:

Where could this design become too tangled?
Which module might start owning too much?
Which optional module might become a hard dependency?
What future feature would pull this off the MVP path?

Output concrete coupling risks.

7. Define decoupling rules

Write rules that keep the MVP modular.

Good rules:

- local context discovery must stay bounded, read-only, and task-specific.
- adaptive-improvement may propose a skill-patch candidate only after an Evidence Ledger supports it; it must not modify skills automatically.
- semantic-architecture should guide planning, not become a required runtime.

Bad rules:

- Keep it modular.
- Make it clean.

8. Define MVP-first build order

List the smallest sequence of work.

Each item should be verifiable.

1. Add semantic-architecture skill.
2. Add semantic-architecture-report template.
3. Add one example using FP itself.
4. Update README and AGENTS.md to make the skill optional.

9. Defer non-MVP work

List what should not be built now.

Typical deferrals:

  • graph database,
  • automatic diagram generation,
  • repository-wide indexing,
  • runtime dependency graph,
  • visual UI,
  • forced architecture step for small tasks.

10. Choose next skill

Usually choose:

  • delete-scope if the MVP scope is still too large,
  • optimize-path if the MVP is clear,
  • shorten-iteration if the work is still too large.

For needs_context, do not route to schema-memory; it stores generalized repeated patterns, not raw task context. Record the smallest read-only next step instead:

  • inspect only the relevant local files, manifests, or runtime state when the missing fact is local;
  • load templates/context-retrieval-contract.md when the missing fact is current, versioned, or external;
  • return Decision: ask_user only when the unresolved gap is a user-owned decision rather than a discoverable fact.

Output contract

Return:

# Semantic Architecture Report

## Clarified Goal

## MVP Slice

## Modules

## Module Relationships

## Lightweight Diagram

## Coupling Risks

## Decoupling Rules

## MVP-first Build Order

## Deferred Modules

## Decision

## Recommended Next Skill

Decision values

Choose one:

mvp_ready
reduce_scope
needs_context
ask_user
stop

Use:

  • mvp_ready when the module map is clear enough for optimize-path.
  • reduce_scope when too many modules are being pulled into the first version.
  • needs_context when a discoverable local or external fact blocks the module map.
  • ask_user when a blocking product or policy choice belongs to the user and cannot be discovered from evidence.
  • stop when the architecture would violate the project's non-goals or make the workflow too heavy.

Failure mode

If architecture cannot be sketched safely from available context, do not invent detail.

Return:

Decision: needs_context
Context class: local | external_versioned
Missing context:
...
Smallest context needed:
...
Read-only next step:
...
Recommended Next Skill: none

For Context class: local, inspect only the named local files or state and then rerun this step. For external_versioned, use templates/context-retrieval-contract.md. If the gap is actually a user-owned decision, return Decision: ask_user with one blocking question, a recommendation, and the main alternative.

Constraints

  • Do not write code.
  • Do not create a complex graph system.
  • Do not require this skill for small tasks.
  • Do not turn optional modules into hard dependencies.
  • Do not expand the MVP.
  • Do not replace delete-scope; this skill should consume its MVP nucleus.
  • Do not route task-local context discovery to schema-memory.
  • Do not invoke adaptive-improvement without an Evidence Ledger that supports a reusable change.
  • Do not produce architecture that cannot be verified by the next task.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.