Skip to content
Back to skills

223 Fn 11 D0f00fb0

ASecurity

Add `.flow/config.json` support to flowctl for project settings. Create config commands and memory init that creates `.flow/memory/` structure when enabled.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 31, 2026
toolstesting

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

npx -y skills add tools-only/X-Skills --skill 223-fn-11_d0f00fb0 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 223 Fn 11 D0f00fb0?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 223 Fn 11 D0f00fb0
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-223-fn-11-d0f00fb0/badge)](https://www.skillsdirectory.com/skills/tools-only-223-fn-11-d0f00fb0)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# fn-1.1 Config + memory directory structure

## Description
Add `.flow/config.json` support to flowctl for project settings. Create config commands and memory init that creates `.flow/memory/` structure when enabled.

Key implementation:
- `load_flow_config()` helper that handles missing file gracefully
- `get_config(key, default)` for nested keys like `memory.enabled`
- Both `flowctl init` and `/flow-next:setup` create config if missing
- Memory commands check `memory.enabled` before running

## Acceptance
- [ ] `flowctl config get <key>` returns nested config values
- [ ] `flowctl config set <key> <value>` updates config.json
- [ ] Default config has `memory.enabled: false`
- [ ] `flowctl init` creates config.json with defaults
- [ ] `/flow-next:setup` creates config.json with defaults (idempotent)
- [ ] Setup Step 7 mentions: "Memory: disabled. Enable with flowctl config set memory.enabled true"
- [ ] `flowctl memory init` creates `.flow/memory/` (only if enabled)
- [ ] Memory templates created: pitfalls.md, conventions.md, decisions.md
- [ ] Memory commands error gracefully when disabled

## Done summary
- Added `load_flow_config()` and `get_config(key, default)` helpers
- Implemented `flowctl config get/set` commands for nested keys
- Implemented `flowctl memory init` with gating on memory.enabled
- Updated `flowctl init` to create config.json with defaults
- Updated setup workflow Step 7 to mention memory system

Why:
- Provides foundation for memory system opt-in behavior
- All memory operations gated behind single config flag

Verification:
- flowctl validate --all passes
- Manual testing of config get/set commands
- Manual testing of memory init (enabled/disabled states)
## Evidence
- Commits: 4398a30be610c53384bf07d3e646d82f771f70ec
- Tests: flowctl validate --all
- PRs:

Files in this skill

  • README.md1011 B
  • skill.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…