New Course
Create a new course page for guiferreira.me.
Instructions
- •
Ask the user for the following information (if not provided via $ARGUMENTS):
- •Title: The course title (e.g., "From Zero to Hero: Testing in C#")
- •Description: Brief course description
- •Duration: Course length (e.g., "4h 30m")
- •Category: Course category (e.g., Testing, Architecture, .NET)
- •Level: Beginner, Intermediate, or Advanced
- •Dometrain URL: The course URL on Dometrain (for affiliate link)
- •Course image path: Path to the course image
- •
Generate a URL-friendly slug from the title (e.g.,
testable-code-csharp). - •
Create the course file at:
codesrc/courses/[slug].md
- •
Use this front matter template:
markdown--- layout: course.njk title: "[Title]" description: "[Description]" duration: "[Duration]" category: [Category] rating: reviewCount: level: [Level] featured: false highlight: false image: /assets/courses/[slug].png courseUrl: [Dometrain URL]?ref=gui-ferreira&affcode=1115529_k5a22dj8&&promo=website&promotion=website callToActionTitle: "[Call to action question]" callToActionSubtitle: "[Supporting subtitle]" date: YYYY-MM-DD relatedCourses: - [related-course-slug] ---
- •
Create the course content body with these sections:
- •Main value proposition (2-3 paragraphs)
- •"## What you'll learn" - Bullet list of key learnings
- •"## [Problem section]" - Describe the pain point this solves
- •"## This Course is your escape plan" - How the course helps
- •"## What makes this different" - Unique selling points
- •"## Frequently Asked Questions" - Use the
<details>accordion pattern
- •
After creating the file, remind the user to:
- •Add the course image to
/assets/courses/ - •Optionally add a hero video
- •Update
relatedCourseswith relevant course slugs - •Set
featured: trueorhighlight: trueif needed
- •Add the course image to
Existing Courses (for relatedCourses reference)
- •testable-code-csharp
- •xunit-csharp
- •test-driven-development-csharp
- •clean-code-csharp
- •url-shortener-in-dotnet
- •opentelemetry-dotnet