swift-dependencies

from nonameplum/agent-skills

Documentation formatted as skills for AI coding assistants. Includes a DocC converter for creating new skills.

9 stars1 forksUpdated Jan 16, 2026
npx skills add https://github.com/nonameplum/agent-skills --skill swift-dependencies

SKILL.md

Dependencies

A dependency management library inspired by SwiftUI's "environment."

Documentation Structure

Getting started

  • Quick start (Articles/QuickStart.md): Learn the basics of getting started with the library before diving deep into all of its features.
  • What are dependencies? (Articles/WhatAreDependencies.md): Learn what dependencies are, how they complicate your code, and why you want to control them.

Essentials

  • Using dependencies (Articles/UsingDependencies.md): Learn how to use the dependencies that are registered with the library.
  • Registering dependencies (Articles/RegisteringDependencies.md): Learn how to register your own dependencies with the library so that they immediately become
  • Live, preview, and test dependencies (Articles/LivePreviewTest.md): Learn how to provide different implementations of your dependencies for use in the live application,
  • Testing (Articles/Testing.md): One of the main reasons to control dependencies is to allow for easier testing. Learn some tips and

Advanced

  • Designing dependencies (Articles/DesigningDependencies.md): Learn techniques on designing your dependencies so that they are most flexible for injecting into
  • Overriding dependencies (Articles/OverridingDependencies.md): Learn how dependencies can be changed at runtime so that certain parts of your application can use
  • Dependency lifetimes (Articles/Lifetimes.md): Learn about the lifetimes of dependencies, how to prolong the lifetime of a dependency, and how
  • Single entry point systems (Articles/SingleEntryPointSystems.md): Learn about "single entry point" systems, and why they are best suited for this dependencies

Dependency management

Usage Notes

  • Documentation is organized progressively from getting started to advanced topics
  • Start with the Introduction or Getting Started section
  • Consult specific guides for detailed information

License & Attribution

This skill contains content converted from DocC documentation format.

Repository Stats

Stars9
Forks1