           (save-current-buffer)))
       (dotspacemacs/sync-configuration-layers))))
 
+(defun ivy-spacemacs-help//layer-action-open-dired (candidate)
+  "Open dired at the location of the passed layer CANDIDATE."
+  (dired
+   (ivy-spacemacs-help//layer-action-get-directory candidate)))
+
 (defun ivy-spacemacs-help//layer-action-open-readme-edit (candidate)
   "Open the `README.org' file of the passed CANDIDATE for editing."
   (ivy-spacemacs-help//layer-action-open-file "README.org" candidate t))

    (let ((package-str (cadr args)))
      (configuration-layer/describe-package (intern package-str)))))

(defun ivy-spacemacs-help//help-action-open-packages (args)
  "Open the `packages.el' file of the passed CANDIDATE."
  (ivy-spacemacs-help//layer-action-open-file "packages.el" (car args)))

(ivy-set-actions
 'ivy-spacemacs-help
 '(("a" ivy-spacemacs-help//help-action-add-layer "add layer")
   ("d" ivy-spacemacs-help//help-action-open-dired "open dired at layer location")
   ("D" ivy-spacemacs-help//help-action-describe-package "describe package")
   ("e" ivy-spacemacs-help//help-action-open-readme-edit "open readme for editing")
   ("p" ivy-spacemacs-help//help-action-open-packages "open packages.el")
   ("r" ivy-spacemacs-help//help-action-open-readme "open readme")))
