sdf-setup

Initializes project constitution (CLAUDE.md) and LessonsLearned.md for the SDF workflow. Activates when onboarding a new repository, starting a new project, or when no CLAUDE.md exists. Triggers include 'setup sdf', 'iniciar projeto', 'configurar sdf', '/sdf-setup'.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sdf-setup" with this command: npx skills add caiobrian/sdf-skills/caiobrian-sdf-skills-sdf-setup

SDF Setup — Project Constitution

Initialize foundational artifacts: .claude/CLAUDE.md and LessonsLearned.md.

Process

Step 1: Analyze the codebase

Examine: stack, framework, bundler, runtime, code patterns, test framework, linters/formatters, folder structure, package scripts.

If the project is empty, ask for preferences.

Step 2: Generate .claude/CLAUDE.md

Keep under 60 lines. Do NOT include what linters already enforce.

# Project Constitution

## Stack
- [detected]
- Prohibited: [what NOT to use]

## Tech Decisions
- [e.g., Data fetching: TanStack Query, never fetch + useEffect]

## Code Conventions
- [extracted from codebase]

## Quality Standards
- [from linter/formatter configs]

## Prohibited Actions
- Never install new dependencies without explicit approval

## Folder Structure
- [mapped from project]

## Commands
- Build: [cmd]
- Test: [cmd]
- Lint: [cmd]

Step 3: Generate LessonsLearned.md

# Lessons Learned
<!-- Format: LL-XXX: Title | Context | Rule | Date -->

Step 4: Confirm

Present output and ask (in the user's preferred language):

  • If any important convention is missing
  • If there are any specific prohibitions

Rules

  • Detect patterns from REAL codebase, never assume defaults
  • Always communicate in the user's preferred language

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

sdf

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

Agent Memory Local

Local-first memory retrieval for Agent/OpenClaw workspaces. Use when the user asks about prior work, decisions, dates, preferences, root causes, todo history...

Registry SourceRecently Updated
Automation

OPC Contract Manager

Contract Review + Contract Ops Copilot for solo entrepreneurs. Analyzes contracts, flags risks, generates redline suggestions and negotiation emails, tracks...

Registry SourceRecently Updated
Automation

SysClaw Reporting

Report system issues and submit resource requests to SysClaw via the cross-agent communication system. Use when an agent needs to report an error, warning, o...

Registry SourceRecently Updated