This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This repository collects community-driven resources (code samples and blog posts) for the Umbraco Community website. Contributors host their actual code elsewhere and submit JSON metadata files describing their samples.
Key characteristic: This is a content repository, not a code project. There are no build commands, tests, or dependencies to manage.
samples/ # JSON files describing community samples
{username}.json # One file per contributor (lowercase GitHub username)
README.md # Contribution guidelines and instructions
submitted-samples.md # Human-readable list of all submissions
Each file in samples/ must:
- Be named
{github-username}.json(lowercase) - Contain a JSON array (even for single samples)
- Include these fields per sample:
title(required): Sample titledescription(required): Brief summaryurl(required): Link to the actual sample/blog postreadme(optional): Link to detailed markdown explanation
Example structure:
[
{
"title": "Sample Title",
"description": "Brief description of what this demonstrates",
"url": "https://example.com/sample",
"readme": "https://example.com/README.md"
}
]- Create
samples/{username}.jsonwith the contributor's samples - Update
submitted-samples.mdwith human-readable entries
- Edit the contributor's JSON file in
samples/ - Add new entries to the array
- Update
submitted-samples.mdaccordingly
- Ensure JSON is valid
- Ensure filenames are lowercase
- Ensure all samples are in arrays (not single objects)
- Verify required fields (
title,description,url) are present
From the README, only blog posts that explain how to do something should be submitted. This repository focuses on:
- Code samples with practical examples
- Tutorial-style blog posts
- How-to guides and walkthroughs
- Developer resources
Not appropriate:
- General blog posts without code samples
- Opinion pieces without practical examples