Skip to main content

A TUI/CLI Knowledge Management application that extracts structured documentation items from Markdown

Project description

Shelly Docs, the TUI/CLI Knowledge Mgmt Application for Agents and Humans

Use Markdown documents to manage various types of documentation Items within a codebase and/or filesystem.

Users can specify type of documentation Item in markdown by using Item Tags in Headers.

Getting Started

Install

pip install --user shelly-docs

Setup Knowledge Base

A Knowledge Base is just a directory that will hold the Markdown documents with your Items, and the shellydocs.yaml file.

Pick a Directory to hold your Knowledge Base.

Create a shellydocs.yaml file, specifying what item_tags you want

item_tags:
- DESIGN

Add Items in a Markdown Document

# DESIGN-1 Access Data
Access data from the system.

# DESIGN-2 Update Data
Write data to the system

Initialize the Knowledge Base

shelly-docs kb set --path "mgmt_docs" # set the knowledge base path

shelly-docs kb update # reads/refreshes the items in the knowledge base

Work with Items

Get the Items

shelly-docs items list

Query Items

If an Item has a codefenced block with an info string of "yaml (data)", the data can then be queried with YAML.

# place this code block on an Item.
status: todo 
# get the items that have a 'status' of 'done'
shelly-docs items query --query "status: todo"

Updating Items

Recommended to directly edit the files, and then run kb update. Items will then be recaptured based on the content of the markdown files in the Knowledge base.

Optionally, you can run items put and provide an item with the path and markdown.

Concept

Humans will primarily interact with Shelly Docs via TUI (Terminal User Interface) built in Textual

Agents and scripts will primarily interact with Shelly Docs via CLI, retrieving structured data for use in gathering context for accomplishing tasks or for gathering info about the documentation.

Goal is to provide a more effective way to manage project documentation and knowledge as a source for agentic coding workflows, spec-driven development, context engineering techniques.

Directory Structure

  • /shelly_docs
    • source code for the application
  • /mgmt_docs
    • Knowledge Base of Documentation Items for this project
  • /experiment_code
    • code snippets for small scale experiments
  • /tests
    • pytest tests and config

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shelly_docs-0.1.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shelly_docs-0.1.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file shelly_docs-0.1.0.tar.gz.

File metadata

  • Download URL: shelly_docs-0.1.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for shelly_docs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 396541d233ffcea7b17b8ffe031ebacd0496f927f1f762e5b3b780422cecfc3d
MD5 7e211d8951bb4d03f8a915e3b32293dc
BLAKE2b-256 6b25703cce4b5ac1a662858077560ae211bdc65586b6e6027659df28419756c2

See more details on using hashes here.

File details

Details for the file shelly_docs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: shelly_docs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for shelly_docs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 711719e1d554f7f983a3f6d3068aca626c319a487bdda4104491dd73575b6f57
MD5 9e6e073eef28ec52bebef7df15ee3873
BLAKE2b-256 f6314a5231a9dc18fdaa6f905332093d41438f5cd26fb2636ae389cf0118bf93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page