agentleFS
aws-samplesaws-samples/sample-well-architected-skills-and-steering/skills/example-skill/SKILL.md

example-skill

Skill272 starsChanged 2 months agoMIT-0View on GitHub

Example skill template used for the CreateHub template. You should never use this skill directly as it is just a template made to be updated.

42 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use git-workflow and code-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    git-workflow

    Squad branching model: dev-first workflow with insiders preview channel

    Also in 4 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 29 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 16
  2. Distinctive:

    Use the provided script for streamlined setup:

    line 27
  3. Distinctive:

    Run the diagnostic script to check for common issues:

    line 69

“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Example Skill Template

Overview

This is a template skill that demonstrates the structure and components of a well-documented skill. Replace this overview with a clear description of what your skill accomplishes and the problem it solves.

Usage

Use this skill when:

  • You need to accomplish [specific task or solve specific problem]
  • You encounter [common scenario 1]
  • You want to [common scenario 2]
  • You see errors like "[example error message]"

Instructions

Basic Setup

Automated Setup: Use the provided script for streamlined setup:

./scripts/example-script.sh

Manual Steps:

# Step 1: Install required tools
echo "Installing dependencies..."

# Step 2: Configure settings
echo "Configuring application..."

# Step 3: Verify installation
echo "Verifying setup..."

Prerequisites

Replace this section with any pre-skill validation logic you want to perform prior to starting the skill.

Configuration

For additional information, see references/additional-info.md

Primary Configuration

Replace with your main configuration steps.

Alternative Configuration

Replace with alternative setup methods if applicable.

Features

Once configured, this skill provides:

  • Feature 1: Description of what it does
  • Feature 2: Description of what it does
  • Feature 3: Description of what it does

Troubleshooting

Automated Diagnostics: Run the diagnostic script to check for common issues:

./scripts/example-script.sh

Manual Troubleshooting:

Common Issue 1

Check logs: Replace with appropriate log location

Common Solutions:

"Error message example"

# Solution command
echo "Fix applied"

"Another error message"

  • Step 1 to resolve
  • Step 2 to resolve

Common Issue 2

"Example error scenario"

  • Troubleshooting step 1
  • Troubleshooting step 2

Supporting Files

scripts/example-script.sh

Example script that demonstrates:

  • Basic shell scripting structure
  • Error handling
  • User feedback
  • Simple operations

Usage: ./scripts/example-script.sh

references/additional-info.md

Template reference file containing:

  • Detailed background information
  • Extended examples and scenarios
  • Advanced usage patterns
  • Reference tables and appendices

When to use: Reference when you need additional context or detailed examples

Deterministic Scripts

example-script.sh

Simple example script demonstrating basic automation patterns.

When to use:

  • Learning script structure
  • Template for new automation scripts
  • Testing script execution

What it does:

  • Prints hello world message
  • Demonstrates basic shell scripting
  • Shows error handling patterns

Example:

./scripts/example-script.sh

Core Concepts

Concept 1: Replace with key concept relevant to your skill domain.

Concept 2: Replace with another important concept users should understand.

Concept 3: Replace with implementation details or architectural concepts.

Quick Reference

TaskCommand
Run example script./scripts/example-script.sh
Check configurationecho "Add your check command"
View documentationSee references/additional-info.md

Common Patterns

Basic Usage:

# Use example script
./scripts/example-script.sh

# Follow up with manual steps if needed
echo "Manual configuration step"

Advanced Usage:

# Check prerequisites
echo "Checking requirements..."

# Run advanced configuration
echo "Advanced setup..."

Common Mistakes

Mistake 1: Description of common mistake users make. Fix: How to resolve this mistake.

Mistake 2: Another common mistake. Fix: Resolution steps for this mistake.

<!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.