Function Analysis
Testing & Qualityfunction-analysisFunction Analysis is an Agent Skill for testing & quality published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
FMEA Step 3: Decompose artifact into function tree — identify what each component is supposed to do before analyzing how it can fail.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/function-analysis/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/function-analysis, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Function Analysis
Decomposes artifact into a hierarchical function tree per FMEA Step 3.
Execution
Subagent — spawned via subagent-spawning/spawn-agent.
Why Subagent
Function decomposition requires systematic analytical thinking without premature failure identification. Isolated context prevents jumping to conclusions.
Input
- artifact: The artifact to decompose
- artifact_type: Type for tailored decomposition
- analysis_mode: "design" (what it should do) or "process" (how it executes)
Output
- function_tree: Hierarchical list of functions and sub-functions
- function_requirements: What each function must achieve to succeed
Available SOPs
Optional, no fixed order; the final leaf is always a sop.
| SOP | When to use |
|---|---|
| spawn-agent | Spawn a customized CC subagent with full MCP tool access. Used by SOPs that declare execution: subagent. |