Sdd Init logo

Sdd Init

Community
sivaprasadreddy
sdd-init

SDD step 0. Analyse the project codebase and create docs/project.md with tech stack, architecture, and conventions. Run once before starting SDD in a new project. If docs/project.md already exists, asks whether to regenerate it.

Overview

Publishersivaprasadreddy
Repositorysdd-skills
Skill namesdd-init
Stars
34
Forks
8
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by sivaprasadreddy on GitHub. Read the source before you install it.

Installation

Install the Sdd Init AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/sivaprasadreddy/sdd-skills/tree/main/skills/sdd-init
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sivaprasadreddy/sdd-skills.git /tmp/sdd-skills
mkdir -p .claude/skills
cp -r /tmp/sdd-skills/skills/sdd-init .claude/skills/sdd-init
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sdd Init in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sdd Init on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sdd Init is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SDD: Init docs/project.md

You are a senior software architect analysing a project to produce its context document.

Pre-conditions

Check whether docs/project.md already exists.

If it exists: Ask the user:

"docs/project.md already exists. Do you want to regenerate it? This will overwrite the current file."

Wait for confirmation. If the user says no, stop and tell them to edit the file manually. If the user confirms, proceed with the full process below.

If it does not exist: Proceed immediately.


Process

1. Detect the Tech Stack

Scan the project root and source tree for build and configuration files to auto-detect as much as possible:

What to findWhere to look
Language & versionpom.xml (<java.version>), build.gradle/build.gradle.kts (jvmToolchain, sourceCompatibility), .java-version, pyproject.toml, package.json (engines), go.mod, Cargo.toml
Frameworkpom.xml / build.gradle dependencies — Spring Boot, Quarkus, Micronaut, FastAPI, Express, Django, Rails, etc.
Build toolPresence of pom.xml (Maven), gradlew (Gradle), package.json (npm/yarn/pnpm), Makefile, pyproject.toml (Poetry/Hatch)
DatabaseDependencies or config files — spring.datasource in application.properties/application.yml, DATABASE_URL in .env.example, docker-compose services
ORM / data accessDependencies — Hibernate/JPA, Spring Data, SQLAlchemy, Prisma, TypeORM, GORM, Diesel
MigrationsDependencies or directories — Flyway, Liquibase, Alembic, db/migrate/ (Rails), Prisma migrate
MessagingDependencies or docker-compose services — Kafka, RabbitMQ, SQS, Redis Streams
Testing librariesTest-scope dependencies — JUnit 5, Mockito, Testcontainers, RestAssured, pytest, Jest, Vitest, RSpec
Other librariesRemaining notable dependencies — Spring Security, MapStruct, Lombok, Resilience4j, OpenAPI, etc.

Read docker-compose.yml or docker-compose.yaml if present — it often reveals the database, messaging, and cache stack.

2. Detect Architecture & Conventions

Explore the source tree structure:

  • Identify the top-level source layout (e.g., src/main/java, src/, app/, lib/)
  • Infer the architecture pattern from package/directory names:
    • Packages named controller, service, repository → Layered
    • Packages named domain, application, infrastructure, adapter → Hexagonal / Clean
    • Packages named after business modules (e.g., order, payment, user) each containing layers → Modular Monolith
    • Multiple top-level services each with their own build file → Microservices
  • Identify the base package name (e.g., com.example.myapp)
  • Look for a centralised error handler (e.g., GlobalExceptionHandler, middleware, error boundary, or equivalent)
  • Look for a base REST path prefix in controllers or config (e.g., /api/v1)
  • Note any security config (e.g., SecurityConfig, auth annotations, JWT setup)

3. Ask Clarifying Questions

Some information cannot be reliably detected. Ask the user the following questions in a single grouped message — do not ask them one at a time:

I've analysed the project. Before I write docs/project.md, I need a few details:

1. **Project name and mission:** What does this application do, and who uses it?
   (1-2 sentences is enough — this is the "why we exist" paragraph.)

2. **Architecture pattern:** Based on the source layout, I think this uses [detected pattern].
   Is that right, or would you describe it differently?

3. **Key conventions:** Are there any conventions AI Agent should follow that aren't obvious from the code?
   For example: naming rules, auth requirements per endpoint, error response format, pagination style.

4. **Approved dependencies:** Are there any constraints on what libraries can be added?
   (If not, I'll list the detected dependencies as approved by default.)

Adjust or omit questions 2–4 if you already have high confidence from the codebase scan.

Wait for the user's answers before writing the file.

4. Write docs/project.md

Create docs/ if it does not exist. Write docs/project.md with this structure, filled in from your analysis and the user's answers:

markdown
# Project: <Name>

## Mission
<One paragraph on what this application does and who it serves.>

## Tech Stack
- Language: <language and version>
- Framework: <framework and version>
- Build tool: <tool>
- Database: <database and version if known>
- ORM: <ORM / data access library>
- Migrations: <migration tool, or "none">
- Messaging: <messaging system, or "none">
- Testing: <testing libraries>
- Other: <other notable libraries>

## Architecture
<Describe the pattern: Layered / Hexagonal / DDD / Modular Monolith / Microservices>
<Describe the package structure with an example, e.g.:>
<  com.example.<module>.<layer>  →  com.example.user.controller, com.example.user.service>

## Conventions
- Package naming: <convention>
- REST base path: <base path, e.g. /api/v1>
- Error handling: <mechanism, e.g. centralised exception handler, error middleware, global error boundary>
- Authentication: <default auth requirement, e.g. all endpoints require auth unless annotated @Public>
- <Any other conventions the user provided>

## Approved Dependencies
<Bulleted list of libraries approved for use. Anything outside this list requires a flag before adding.>

Do not leave any placeholder text (angle-bracket tokens) in the output — fill every field or omit the line if genuinely unknown.

5. Confirm

After writing the file:

  • Show the user a summary of what was detected automatically vs. what they provided
  • Tell them to review docs/project.md and update anything that looks wrong
  • Remind them to keep this file up to date as the stack evolves — it is the primary input for all other SDD skills
  • Prompt them to run /sdd-feature <feature description> to start their first feature

Frequently asked questions

What does the Sdd Init AI skill do?

SDD step 0. Analyse the project codebase and create docs/project.md with tech stack, architecture, and conventions. Run once before starting SDD in a new project. If docs/project.md already exists, asks whether to regenerate it.

Why use Sdd Init on TypingMind?

Because you install it once and use it with any model. Sdd Init is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sdd Init in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/sivaprasadreddy/sdd-skills/tree/main/skills/sdd-init. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Sdd Init?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sdd Init?

As many as you like. As long as a model supports skills, you can use Sdd Init with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sdd Init AI skill free?

It is published on GitHub by sivaprasadreddy. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇