Skip to content

AGI-comming/functional-skill-creator / skills/fskill-creator

fskill-creator

Verified

Create, maintain, or migrate functional skills; supports creating from a requirement brief and migrating an existing legacy skill directory into a functional skill structure.

references/script-rules.md

View on GitHub
# Script Rules

`scripts/` is for deterministic work that does not require model judgment and is repeatable.

## Suitable for Scripts

- Parsing structured files;
- Normalizing whitespace, paths, or frontmatter;
- Validating JSON-like objects;
- Converting trace records into testcase files;
- Rendering predictable reports;
- Applying mechanical file transforms.

## Keep in Function Contracts

- Judging whether requirements are ambiguous;
- Choosing function boundaries;
- Interpreting user intent;
- Writing user-facing prose that requires judgment;
- Resolving domain tradeoffs.

## Contract Requirements

When a function uses a script, the contract must state:

- Script path;
- Script input;
- Script output;
- Failure behavior;
- Whether the script may read or write files.

Scripts with branching behavior should have `.test.mjs` tests in the same directory.

## Viewer Tools

`tools/` is for optional local viewers and does not carry workflow-essential logic.

- `tools/log_viewer.mjs` reads `logs/runs/*.jsonl` and summarizes function traces.
- `tools/tester_viewer.mjs` reads `testcases/**/*.case.json` and summarizes regression coverage.
- If the user has not explicitly passed `include_viewers`, explain the purpose and ask before generating; do not generate by default.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 468kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 319kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 319kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 319kUpdated Claude CodeCodexVerifiedInstall