Two-tier documentation system - Read BOTH types:
- Read folder-level docs (detailed architecture)
- Read function-level docs (concise: 1-3 sentences)
Examples:
| # Claude command wrapper with YOLO mode | |
| claude() { | |
| # If the first arg is "yolo", rewrite the command | |
| if [[ "$1" == "yolo" ]]; then | |
| echo "⚠️ YOLO mode enabled… skipping permissions" | |
| shift 1 | |
| command claude --dangerously-skip-permissions "$@" | |
| else | |
| # Otherwise pass everything through to the real claude binary | |
| command claude "$@" |
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
BEFORE modifying ANY code file:
docs/internal/api-docs.md)docs/internal/api/handlers/health.md)| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
| /* | |
| * ============================================= | |
| * =========== SEARCH EDGE CASES =============== | |
| * ============================================= | |
| */ | |
| // NOT IN LIST | |
| const listOfDogs = ["pomeranian", "shih tzu"]; |
| /* | |
| * ================================= | |
| * =========== SEARCH ============== | |
| * ================================= | |
| */ | |
| let array = [1, 2, 3, 4, 5] | |
| let val = array.find((val) => { | |
| if (val === 1) { |
| // Standard Solution | |
| function findLongestWord(word1, word2, word3) { | |
| if ((word1.length >= word2.length) && (word1.length >= word3.length)) { | |
| return word1 | |
| } else if ((word2.length >= word3.length) && (word2.length >= word1.length)) { | |
| return word2 | |
| } else if ((word3.length >= word1.length) && (word3.length >= word2.length)) { | |
| return word3; | |
| } else { | |
| return 'error'; |
| weather() { | |
| # Handle our variables | |
| # If no arg is given, default to San Francisco | |
| local request curlArgs | |
| curlArgs="-H \"Accept-Language: ${LANG%_*}\" --compressed -m 10" | |
| case "${1}" in | |
| (-h|--help) request="wttr.in/:help" ;; | |
| (*) request="wttr.in/${*:-SanFrancisco}?u" ;; | |
| esac |