Skip to content

Commit ad34061

Browse files
committed
Add ultra-short examples and project catalog
1 parent 67b8d34 commit ad34061

File tree

87 files changed

+780
-485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+780
-485
lines changed

docs/project-catalog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Project Catalog (Ultra short)
2+
3+
Pick a template close to your project.
4+
5+
- CRUD backoffice (forms + validation)
6+
- Public API (API Platform + DTOs)
7+
- Workflow engine (Messenger + CQRS)
8+
- Multi-module ERP (bounded contexts)
9+
- B2B portal (auth + rate limiting)
Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
11
---
22
name: symfony:api-platform-dto-resources
3-
description: Use when symfony api platform dto resources
43
allowed-tools:
54
- Read
65
- Write
76
- Edit
87
- Bash
98
- Glob
109
- Grep
10+
description: Use when symfony api platform dto resources
1111
---
1212

1313
# symfony:api-platform-dto-resources (Micro)
1414

1515
## Use when
1616
- Use when symfony api platform dto resources
1717

18-
## Tags
19-
- api-platform
20-
21-
## Do
22-
- Keep changes minimal and focused
23-
- Ask before running servers/builds/tests
24-
- Follow existing project conventions
25-
26-
## Avoid
27-
- Unnecessary context expansion
28-
- Changing unrelated files
18+
## Rules
19+
- Ask before running servers/builds/tests; keep changes minimal
2920

3021
## References
31-
- `reference.md` for full details
22+
- `reference.md`
23+
- `examples.md`
24+
- `docs/complexity-tiers.md`
25+
- `docs/project-examples.md`
26+
- `docs/project-catalog.md`
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Examples (Simple / Medium / Complex)
2+
3+
## Simple
4+
- Api Platform Dto Resources: basic setup and minimal flow
5+
6+
## Medium
7+
- Api Platform Dto Resources: auth + validation + basic caching
8+
9+
## Complex
10+
- Api Platform Dto Resources: multi-tenant + tags + async jobs
Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
11
---
22
name: symfony:api-platform-filters
3-
description: Use when symfony api platform filters
43
allowed-tools:
54
- Read
65
- Write
76
- Edit
87
- Bash
98
- Glob
109
- Grep
10+
description: Use when symfony api platform filters
1111
---
1212

1313
# symfony:api-platform-filters (Micro)
1414

1515
## Use when
1616
- Use when symfony api platform filters
1717

18-
## Tags
19-
- api-platform
20-
21-
## Do
22-
- Keep changes minimal and focused
23-
- Ask before running servers/builds/tests
24-
- Follow existing project conventions
25-
26-
## Avoid
27-
- Unnecessary context expansion
28-
- Changing unrelated files
18+
## Rules
19+
- Ask before running servers/builds/tests; keep changes minimal
2920

3021
## References
31-
- `reference.md` for full details
22+
- `reference.md`
23+
- `examples.md`
24+
- `docs/complexity-tiers.md`
25+
- `docs/project-examples.md`
26+
- `docs/project-catalog.md`
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Examples (Simple / Medium / Complex)
2+
3+
## Simple
4+
- Api Platform Filters: basic setup and minimal flow
5+
6+
## Medium
7+
- Api Platform Filters: auth + validation + basic caching
8+
9+
## Complex
10+
- Api Platform Filters: multi-tenant + tags + async jobs
Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
11
---
22
name: symfony:api-platform-resources
3-
description: Use when symfony api platform resources
43
allowed-tools:
54
- Read
65
- Write
76
- Edit
87
- Bash
98
- Glob
109
- Grep
10+
description: Use when symfony api platform resources
1111
---
1212

1313
# symfony:api-platform-resources (Micro)
1414

1515
## Use when
1616
- Use when symfony api platform resources
1717

18-
## Tags
19-
- api-platform
20-
21-
## Do
22-
- Keep changes minimal and focused
23-
- Ask before running servers/builds/tests
24-
- Follow existing project conventions
25-
26-
## Avoid
27-
- Unnecessary context expansion
28-
- Changing unrelated files
18+
## Rules
19+
- Ask before running servers/builds/tests; keep changes minimal
2920

3021
## References
31-
- `reference.md` for full details
22+
- `reference.md`
23+
- `examples.md`
24+
- `docs/complexity-tiers.md`
25+
- `docs/project-examples.md`
26+
- `docs/project-catalog.md`
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Examples (Simple / Medium / Complex)
2+
3+
## Simple
4+
- Api Platform Resources: basic setup and minimal flow
5+
6+
## Medium
7+
- Api Platform Resources: auth + validation + basic caching
8+
9+
## Complex
10+
- Api Platform Resources: multi-tenant + tags + async jobs
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: symfony:api-platform-security
3-
description: Use when symfony api platform security
43
allowed-tools:
54
- Read
65
- Write
76
- Edit
87
- Bash
98
- Glob
109
- Grep
10+
description: Use when symfony api platform security
1111
---
1212

1313
# symfony:api-platform-security (Micro)
@@ -18,14 +18,12 @@ allowed-tools:
1818
## Tags
1919
- api-platform, security
2020

21-
## Do
22-
- Keep changes minimal and focused
23-
- Ask before running servers/builds/tests
24-
- Follow existing project conventions
25-
26-
## Avoid
27-
- Unnecessary context expansion
28-
- Changing unrelated files
21+
## Rules
22+
- Ask before running servers/builds/tests; keep changes minimal
2923

3024
## References
31-
- `reference.md` for full details
25+
- `reference.md`
26+
- `examples.md`
27+
- `docs/complexity-tiers.md`
28+
- `docs/project-examples.md`
29+
- `docs/project-catalog.md`
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Examples (Simple / Medium / Complex)
2+
3+
## Simple
4+
- Api Platform Security: basic setup and minimal flow
5+
6+
## Medium
7+
- Api Platform Security: auth + validation + basic caching
8+
9+
## Complex
10+
- Api Platform Security: multi-tenant + tags + async jobs
Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
11
---
22
name: symfony:api-platform-serialization
3-
description: Use when symfony api platform serialization
43
allowed-tools:
54
- Read
65
- Write
76
- Edit
87
- Bash
98
- Glob
109
- Grep
10+
description: Use when symfony api platform serialization
1111
---
1212

1313
# symfony:api-platform-serialization (Micro)
1414

1515
## Use when
1616
- Use when symfony api platform serialization
1717

18-
## Tags
19-
- api-platform
20-
21-
## Do
22-
- Keep changes minimal and focused
23-
- Ask before running servers/builds/tests
24-
- Follow existing project conventions
25-
26-
## Avoid
27-
- Unnecessary context expansion
28-
- Changing unrelated files
18+
## Rules
19+
- Ask before running servers/builds/tests; keep changes minimal
2920

3021
## References
31-
- `reference.md` for full details
22+
- `reference.md`
23+
- `examples.md`
24+
- `docs/complexity-tiers.md`
25+
- `docs/project-examples.md`
26+
- `docs/project-catalog.md`

0 commit comments

Comments
 (0)