Project Metadata
project-metadata
Project structure initialization and metadata generation. This skill should be used when creating a new project, initializing project structure based on type (golang or social profile), or generating/updating README documentation.
SKILL.md
Full skill instructions
Project Metadata
Overview
This skill provides project initialization and metadata (README.md) generation based on project type. It supports structured initialization for golang and social profile projects.
When to Use
Use this skill when:
- Creating a new project and need to initialize its structure
- Generating or updating README documentation for golang projects
- Setting up a social profile workspace
Supported Project Types
| Type | Structure Reference | Metadata Reference |
|---|---|---|
golang | rules/go-structure.md | references/golang.readme.md |
profile | rules/profile-structure.md | references/profile.readme.md |
Project Initialization
Golang Projects
To initialize a golang project structure, follow the guidelines in rules/go-structure.md:
<project-name>/
├── cmd/ # CLI entry points (spf13/cobra)
├── config/ # Configuration and client initialization
├── model/ # Database CRUD operations
├── svc/ # Single domain business logic
├── handler/ # E2E feature orchestration
└── utils/ # Common helper functions
Social Profile Projects
To initialize a social profile project structure, follow the guidelines in rules/profile-structure.md:
<project-name>/
├── archetype/ # Prototype models for the profile
├── background/ # Profile information and details
├── post/ # Generated posts (YYYYMMDD-<story> naming)
└── assets/ # Non-defined files
Metadata Generation
Golang README
To generate README documentation for a golang project, use the workflow defined in references/golang.readme.md.
The workflow analyzes:
- Folder Structure - Documents key directories and their purposes
- Handler List - HTTP/RPC endpoints with methods and descriptions
- External Services - RPC, Database, Cache, MQ dependencies
- Run/Test Instructions - Build, run, and testing commands
Read the full reference for detailed steps:
references/golang.readme.md
Social Profile Metadata
To generate README documentation for a social profile project, use the workflow defined in references/profile.readme.md.
The workflow analyzes:
- Profile Overview - Name, type, and description
- Directory Structure - Standard profile directories
- Background Information - Biography, personality, voice from
background/ - Archetype References - Prototype models from
archetype/ - Post List - All posts from
post/with dates and content types
Read the full reference for detailed steps:
references/profile.readme.md
Resources
references/
| File | Description |
|---|---|
golang.readme.md | Workflow for golang README generation |
profile.readme.md | Workflow for profile README generation |
