スキル一覧に戻る
monedales

42-readme-generator

by monedales

1🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: 42-readme-generator description: Generate comprehensive README files for 42 School projects. Use when creating or improving project documentation.

42 README Generator

Generate well-structured README files for 42 School projects.

README Structure

Every 42 project README should include:

  1. Title & Tagline (with emojis)
  2. Description - Overview, problem, key challenge
  3. Technologies & Concepts - What's used and learned
  4. How It Works - Visual explanations with ASCII diagrams
  5. Architecture - Data structures, modules
  6. Source Code Structure - Directory tree
  7. Instructions - Build, run, test
  8. Technical Challenges - Problems and solutions (collapsible)
  9. Useful Links - Guides and resources
  10. License - Academic disclaimer

Title Section Template

# project-name 🎯 [emoji]

One-sentence description of what the project does and its educational purpose.

Description Template

## Description 📜

[2-3 paragraph overview of the project]

**Key Challenge:** [Main technical difficulty in one sentence]

How It Works Section

Use ASCII diagrams:

## How It Works 🔄

### Data Flow:

┌─────────┐ ┌─────────┐ │ INPUT │────────►│ PROCESS │ └─────────┘ └────┬────┘ │ ▼ ┌─────────┐ │ OUTPUT │ └─────────┘ ```


## Architecture Section

Show actual code structures:
```markdown
## Architecture 🏗️

### Data Structures:
\```c
typedef struct s_data
{
    int     value;
    char    *str;
}   t_data;
\```

Source Structure Template

## Source Code Structure 📂

\```
project/
├── binary_name
├── Makefile
├── include/
│   └── header.h
├── src/
│   ├── main.c
│   └── utils.c
└── guides/
    └── guide.md
\```

Instructions Template

## Instructions ⚙️

### Building the Project
\```bash
make              # Compile
\```

### Running the Program
\```bash
./program [args]
\```

### Examples:
\```bash
# Basic test
./program test

# Edge case
./program 0
\```

### Development Commands
- Clean: `make clean`
- Full clean: `make fclean`
- Rebuild: `make re`
- Check style: `norminette -R CheckForbiddenSourceHeader`

Technical Challenges Template

## Technical Challenges & Solutions 🧩

<details>
<summary><strong>Challenge Name</strong></summary>

**Problem:** Description of the issue

**Solution:** How it was solved

</details>

Style Guidelines

Emojis

  • Title: 1-2 relevant emojis
  • Sections: One per header (📜 🛠️ 🔄 🏗️ 📂 ⚙️ 🧩 🔗)
  • Body: Minimal use

Code Blocks

  • Always specify language: ```c, ```bash, ```makefile
  • Show actual project code when possible

ASCII Diagrams

  • Use: ┌─┐│└┘├┤ for boxes
  • Arrows: → ← ↑ ↓ ◄ ►
  • Keep simple and readable
## Useful Links 🔗

### Project Guides (in `/guides/`):
- `guide.md` ⭐ - Main guide
- `concepts.md` - Core concepts

### External Resources:

#### Category 1:
- [Resource Name](URL)

#### Category 2:
- [Resource Name](URL)

42-Specific Elements

Norminette

Always include:

norminette -R CheckForbiddenSourceHeader src/*.c include/*.h

Makefile Rules

Document:

  • make / make all
  • make clean
  • make fclean
  • make re
  • make bonus (if applicable)

Testing

Include practical tests:

# Thread Sanitizer
cc -fsanitize=thread -pthread src/*.c -o program

# Valgrind
valgrind --leak-check=full ./program

Process

  1. Read all source files and Makefile
  2. Identify key data structures and functions
  3. Understand program flow and architecture
  4. Create ASCII diagrams for complex processes
  5. Write clear, concise descriptions
  6. Include practical, tested examples
  7. Link to existing guides/ files
  8. Add relevant external resources

Quality Checklist

  • All 10 sections present
  • Compilation commands tested
  • Examples are accurate
  • ASCII diagrams render correctly
  • Code snippets from actual files
  • Links are valid
  • Consistent emoji use
  • Professional tone
  • Markdown properly formatted

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です