Compare commits
2 Commits
048280cc5c
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ff106ac14 | |||
| b257e195f9 |
-39
@@ -1,39 +0,0 @@
|
|||||||
#lang racket/base
|
|
||||||
|
|
||||||
(require racket-makefile)
|
|
||||||
|
|
||||||
(define test-install #f)
|
|
||||||
|
|
||||||
(makefile 'skill
|
|
||||||
(target 'all
|
|
||||||
(displayln "Use (make 'install)"))
|
|
||||||
|
|
||||||
(target 'install
|
|
||||||
(let ((home (find-system-path 'home-dir)))
|
|
||||||
(when (eq? home #f)
|
|
||||||
(error "No home directory?, cannot find place of .codex"))
|
|
||||||
(let* ((pwd (current-directory))
|
|
||||||
(skilld (build-path home ".codex" "skills"))
|
|
||||||
(racket-skilld (build-path skilld "racket-skill"))
|
|
||||||
(js-skilld (build-path skilld "javascript-skill"))
|
|
||||||
(cp (lambda (to-dir file)
|
|
||||||
(let ((from (build-path pwd file))
|
|
||||||
(to (build-path to-dir "SKILL.md")))
|
|
||||||
(unless (directory-exists? to-dir)
|
|
||||||
(make-directory to-dir))
|
|
||||||
(displayln (format "cp ~a -> ~a" from to))
|
|
||||||
(unless test-install
|
|
||||||
(copy-file from to #:exists-ok? #t)))))
|
|
||||||
)
|
|
||||||
(cp racket-skilld "racket-skill.md")
|
|
||||||
(cp js-skilld "javascript-skill.md")
|
|
||||||
)))
|
|
||||||
|
|
||||||
|
|
||||||
(target 'test-install
|
|
||||||
(set! test-install #t)
|
|
||||||
(make 'install)
|
|
||||||
(set! test-install #f))
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
#lang racket/base
|
||||||
|
|
||||||
|
(require racket-makefile
|
||||||
|
racket/file)
|
||||||
|
|
||||||
|
(define test-install #f)
|
||||||
|
|
||||||
|
(makefile 'skill
|
||||||
|
(target 'all
|
||||||
|
(displayln "Use (make 'install)"))
|
||||||
|
|
||||||
|
(target 'install
|
||||||
|
(let ((home (find-system-path 'home-dir)))
|
||||||
|
(when (eq? home #f)
|
||||||
|
(error "No home directory?, cannot find place of .codex"))
|
||||||
|
(for-each (lambda (subdir)
|
||||||
|
(let* ((pwd (current-directory))
|
||||||
|
(skilld (build-path home subdir)) ;".codex" "skills"))
|
||||||
|
(racket-skilld (build-path skilld "racket-skill"))
|
||||||
|
(js-skilld (build-path skilld "javascript-skill"))
|
||||||
|
(cp (lambda (to-dir file)
|
||||||
|
(let ((from (build-path pwd file))
|
||||||
|
(to (build-path to-dir "SKILL.md")))
|
||||||
|
(unless (directory-exists? to-dir)
|
||||||
|
(make-directory* to-dir))
|
||||||
|
(displayln (format "cp ~a -> ~a" from to))
|
||||||
|
(unless test-install
|
||||||
|
(copy-file from to #:exists-ok? #t)))))
|
||||||
|
)
|
||||||
|
(cp racket-skilld "racket-skill.md")
|
||||||
|
(cp js-skilld "javascript-skill.md")
|
||||||
|
))
|
||||||
|
(list (build-path ".codex" "skills")
|
||||||
|
(build-path ".copilot" "skills")))
|
||||||
|
))
|
||||||
|
|
||||||
|
|
||||||
|
(target 'test-install
|
||||||
|
(set! test-install #t)
|
||||||
|
(make 'install)
|
||||||
|
(set! test-install #f))
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
@@ -171,3 +171,10 @@ Scheid verschillende verantwoordelijkheden in afzonderlijke onderdelen
|
|||||||
en voorkom dat één onderdeel meerdere, onderling onafhankelijke concerns
|
en voorkom dat één onderdeel meerdere, onderling onafhankelijke concerns
|
||||||
door elkaar heen behandelt.
|
door elkaar heen behandelt.
|
||||||
|
|
||||||
|
# Specifieke aandachtspunten
|
||||||
|
|
||||||
|
## Het gebruik van browseropslag
|
||||||
|
|
||||||
|
Opslag in de browser, zoals bijvoorbeeld door localStorage te gebruiken, is
|
||||||
|
voor data/model verboden. Tenzij om een werkruimte te creëeren die nodig is
|
||||||
|
t.b.v. betrouwbaarheid en performance. Of caching te doen t.b.v. performance.
|
||||||
Reference in New Issue
Block a user