agentleFS
anderson-c-santosanderson-c-santos/claude-skills-network/skills/open-project/SKILL.md

open-project

Skill1 starsChanged 5 months agoMITView on GitHub

Initialize a new code project with proper structure, git, and GitHub repo. Trigger for: /open-project, init project, new project, bootstrap project, create project, start project. Creates directory structure, git init, optional GitHub repo.

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If name unknown: ask name first

    line 36
  2. Distinctive:

    If stack unknown: ask "Stack?

    line 37
  3. Distinctive:

    Never ask both at once

    line 38
  4. Very specific:

    No manual files needed — create-next-app handles everything.

    line 183
  5. Distinctive:

    Ask: "Create a GitHub repo?

    line 233
  6. Distinctive:

    Default: private. Ask only if public is needed.

    line 239
  7. Distinctive:

    Never create README.md unless user asks

    line 250
  8. Distinctive:

    Never add K3s/Swarm config — that is a deploy step

    line 251

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Open Project

Bootstrap a new project with production-ready structure. After this, use /create-branch to start work.

Invocation Forms

  • /open-project — ask name then stack
  • /open-project <name> — ask stack only
  • /open-project <name> <stack> — go directly

Supported Stacks

StackCreates
pythonsrc/, tests/, requirements.txt, .env.example, Dockerfile
nodesrc/index.js, package.json, .env.example, Dockerfile
gocmd/main.go, internal/, go.mod, Dockerfile
nextjsfull Next.js app via create-next-app
dockerdocker-compose.yml skeleton
baregit init + .gitignore only

Workflow

0. Prerequisites

gh auth status          # must be logged in if creating GitHub repo
git config user.name    # must be set
git config user.email   # must be set

1. Clarify (one question max)

  • If name unknown: ask name first
  • If stack unknown: ask "Stack? (python / node / go / nextjs / docker / bare)"
  • Never ask both at once

2. Create base structure

mkdir <name>
cd <name>
git init

Universal .gitignore:

.env
.env.local
.env.*.local
*.log
.DS_Store
Thumbs.db

Stack-specific additions to .gitignore:

StackAdd
python__pycache__/ *.pyc .venv/ dist/ *.egg-info/
nodenode_modules/ dist/ .next/ coverage/
gobin/ dist/ vendor/

3. Stack-specific files

Python:

src/<name>/__init__.py   (empty)
tests/__init__.py        (empty)
tests/test_main.py       (empty)
requirements.txt
.env.example
Dockerfile

requirements.txt:

# Add dependencies here
# Example: fastapi==0.115.0

Dockerfile:

FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
RUN useradd -m appuser && chown -R appuser /app
USER appuser
CMD ["python", "-m", "src.<name>"]

Node.js:

src/index.js
package.json  (via npm init -y)
.env.example
Dockerfile

src/index.js:

'use strict'

async function main() {
  console.log('<name> started')
}

main().catch(err => { console.error(err); process.exit(1) })

Dockerfile:

FROM node:24-alpine
WORKDIR /app
COPY package*.json .
RUN npm ci --omit=dev
COPY src/ ./src/
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
USER appuser
CMD ["node", "src/index.js"]

Go:

cmd/<name>/main.go
internal/          (empty dir — add .gitkeep)
go.mod             (via go mod init)
Dockerfile

cmd/<name>/main.go:

package main

import (
	"fmt"
	"os"
)

func main() {
	fmt.Println("<name> started")
	os.Exit(0)
}

Dockerfile:

FROM golang:1.24-alpine AS builder
WORKDIR /app
COPY go.mod go.sum* ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /bin/app ./cmd/<name>

FROM scratch
COPY --from=builder /bin/app /app
USER 65534
ENTRYPOINT ["/app"]

go.mod:

module github.com/12MICKY/<name>

go 1.24

Next.js:

npx create-next-app@latest <name> \
  --typescript --tailwind --app --no-src-dir --eslint
cd <name>

No manual files needed — create-next-app handles everything.


Docker:

# docker-compose.yml
services:
  <name>:
    image: <name>:latest
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - NODE_ENV=production
    volumes:
      - data:/app/data

volumes:
  data:

networks:
  default:
    name: <name>-network

Bare:

git init
# .gitignore with universal entries only

4. .env.example

# Copy to .env and fill in values
APP_PORT=3000
APP_ENV=development
# DATABASE_URL=postgres://user:pass@localhost:5432/dbname
# SECRET_KEY=changeme

5. Initial commit

git add .
git commit -m "chore: init <name> project"

6. GitHub repo

Ask: "Create a GitHub repo? (yes/no)"

If yes:

gh repo create 12MICKY/<name> --private --source=. --push

Default: private. Ask only if public is needed.

7. Output

Project: <name>  Stack: <stack>
Files:   <list of files created>
Repo:    https://github.com/12MICKY/<name>  (if created)
Next:    /create-branch feat/<first-feature>

Hard Rules

  • Never create README.md unless user asks
  • Never add K3s/Swarm config — that is a deploy step
  • Dockerfile always uses non-root user
  • .env.example never contains real secrets
  • Go module path always github.com/12MICKY/<name>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.